summaryrefslogtreecommitdiff
path: root/gr-wxgui/python/wxgui/stdgui2.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-wxgui/python/wxgui/stdgui2.py')
-rw-r--r--gr-wxgui/python/wxgui/stdgui2.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gr-wxgui/python/wxgui/stdgui2.py b/gr-wxgui/python/wxgui/stdgui2.py
index b38589988e..d983dd58cd 100644
--- a/gr-wxgui/python/wxgui/stdgui2.py
+++ b/gr-wxgui/python/wxgui/stdgui2.py
@@ -79,6 +79,7 @@ class stdframe (wx.Frame):
def OnCloseWindow (self, event):
self.top_block().stop()
+ self.top_block().wait()
self.Destroy ()
def top_block (self):