The following code will crash. Commenting out the wx import (note that wx is never used) will work as expected.
This may be related to the shadow window bug, but setting shadow window to False does not help.
import multiprocessing as mp
import wx
def run():
import pyglet
w = pyglet.window.Window(resizable=True)
while not w.has_exit:
w.dispatch_events()
w.close()
p = mp.Process(target=run)
p.start()
p.join()
This may be related to the shadow window bug, but setting shadow window to False does not help.
Comments
Post a Comment