Commit faeb14f1 authored by Guillaume Seguin's avatar Guillaume Seguin

Explicitely delete wx.App at the end of pronterface.py

Okai, this may not make that much sense. However when removing the mainloop,
pronterface was segfaulting when Python was freeing everything. As a
workaround, explictely destroy the wx application, which will cleanly free
things in order, while Python might destroy wx things in a random order.
parent e29dd70e
...@@ -1527,3 +1527,4 @@ if __name__ == '__main__': ...@@ -1527,3 +1527,4 @@ if __name__ == '__main__':
app.MainLoop() app.MainLoop()
except KeyboardInterrupt: except KeyboardInterrupt:
pass pass
del app
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment