Re: onCloseConsole

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: onCloseConsole

Chris Uppal-3
Ian,

> ... then I get the beeps as before.  However closing the command window
> using the close button now works immediately _but_ I don't get the beep to
> say that it's gone through the #onExit.

Maybe something to do with the console streams (I seem to recall that they are
opened lazily).  If Dolphin hasn't opened the streams then presumably Windows
won't bother to tell it that they've been closed.  If it has opened them (and
not closed them) then it isn't /too/ unreasonable that Window's won't close
the console Window while the stream is open.  Perhaps Windows is expecting you
to close the streams in #onCloseConsole.

Seems odd, though, that it doesn't affect non-Dolphin applications.  So maybe
the above is mere hogwash...

    -- chris