BruceSherwood / vpython-wx

VPython based on wxPython
Other
70 stars 38 forks source link

wx.Exit() not called under some circumstances on the mac. #1

Closed sspickle closed 11 years ago

sspickle commented 11 years ago

If you go to a command line in Terminal and type

python

import visual ^D

you get a crash. If you type

python

import visual import wx wx.Exit() ^D

all is well. Apparently wx.Exit() does critical cleanup that doesn't get done if the shell just exits. I'm experimenting with adding an atexit handler (see atexit branch).

sspickle commented 11 years ago

With the new atexit strategy... this bug is squashed.

-steve