Windows not waiting for app to finish on shutdown?

Mark Williams (MWP) mwp at internode.on.net
Mon Sep 10 09:58:14 PDT 2007


Hi all,

My wxApp is frameless... it runs a thread and sits in the Windows tray
(wxTaskBarIcon).

On shutdown/restart/log-off in Windows (XP/Vista), it appears the apps OnExit handler is
not run, or windows does not wait for it to be completed.

My app must un-init properly before windows can shutdown/restart/log-off.

What can i do about this?

Thanks.




More information about the wx-users mailing list