[ wxwindows-Bugs-1428691 ] [wxMSW 2.6.2] wxApp::OnExit never called
on log off
SourceForge.net
noreply at sourceforge.net
Mon Feb 25 14:23:46 PST 2008
Bugs item #1428691, was opened at 2006-02-09 23:19
Message generated for change (Comment added) made by troelsk
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1428691&group_id=9863
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxMSW specific
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: troelsk (troelsk)
Assigned to: Nobody/Anonymous (nobody)
Summary: [wxMSW 2.6.2] wxApp::OnExit never called on log off
Initial Comment:
OnExit is not called when you log off, when the
(default) EVT_END_SESSION handler is activated.
Attachment: I've added debug file logging to
samples/minimal to demonstrate the problem. If you call
SimulateLogoff() it produces the expected result:
OnInit
OnEndSession
OnExit
If you log off the result is this:
OnInit
OnEndSession
No OnExit - the cleanup code you put in MyApp::OnExit
is not executed.
I don't how to the fix this, it's not possible to
use the debugger while the session is closing.
Problem observed on Win2000 SP4 and WinXP SP2 using
wxMSW 2.6.2
This bug report supersedes #1428564.
----------------------------------------------------------------------
>Comment By: troelsk (troelsk)
Date: 2008-02-25 23:23
Message:
Logged In: YES
user_id=1290727
Originator: YES
Problem persists in trunk, wx 2.9
----------------------------------------------------------------------
Comment By: troelsk (troelsk)
Date: 2007-02-05 10:42
Message:
Logged In: YES
user_id=1290727
Originator: YES
http://wxforum.shadonet.com/viewtopic.php?t=12519
----------------------------------------------------------------------
Comment By: troelsk (troelsk)
Date: 2006-02-09 23:25
Message:
Logged In: YES
user_id=1290727
>Problem observed on Win2000 SP4 and WinXP SP2 using
wxMSW 2.6.2...
...compiled using both MSVC6 and gcc 3.4.4, samples/minimal
etc. also compiled using both MSVC6 and gcc 3.4.4
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1428691&group_id=9863
More information about the wx-dev
mailing list