diff options
Diffstat (limited to 'embroider_simulate.py')
| -rw-r--r-- | embroider_simulate.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/embroider_simulate.py b/embroider_simulate.py index 5340dda7..d1407249 100644 --- a/embroider_simulate.py +++ b/embroider_simulate.py @@ -233,6 +233,9 @@ class EmbroiderySimulator(wx.Frame): if self.on_close_hook: self.on_close_hook() + # If we keep a reference here, wx crashes when the process exits. + self.canvas = None + self.Destroy() def stop(self): |
