From faeb14f190f1c7d9e14b92df9f5925d0ce2237e5 Mon Sep 17 00:00:00 2001 From: Guillaume Seguin Date: Sat, 18 May 2013 12:50:18 +0200 Subject: [PATCH] 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. --- pronterface.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pronterface.py b/pronterface.py index 9770e00..cfcb8e4 100755 --- a/pronterface.py +++ b/pronterface.py @@ -1527,3 +1527,4 @@ if __name__ == '__main__': app.MainLoop() except KeyboardInterrupt: pass + del app