[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: Host_Quit implementation in wscript
From:       Jacek Caban <jacek () codeweavers ! com>
Date:       2016-06-27 15:28:40
Message-ID: 57714628.6060904 () codeweavers ! com
[Download RAW message or body]

Hi Thiago,

On 27.06.2016 06:21, Thiago Barbato wrote:
> I tried running a .js with a WScript.Quit() call and noticed it isn't
> implemented
> yet in programs/wscript/host.c. Would a simple ExitProcess( ExitCode )
> do the job
> or are there cases where this would be the wrong thing to do?

Ideally, we should properly close script engines so that they have a
chance for proper clean up. It may not be critical for engines
themselves, but we can't know what other COM objects are used by scripts.

That said, I'd be fine with ExitProcess() as a temporary solution.

Jacek



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic