File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,15 @@ def __init__(self):
36
36
self .sock .settimeout (1 )
37
37
self .running = True
38
38
39
+ self .clear_panel ('oz_compiler' )
40
+ self .clear_panel ('oz_output' )
41
+
42
+
43
+ def clear_panel (self , panel_name ):
44
+ panel = self .window .find_output_panel (panel_name )
45
+ if panel :
46
+ self .window .destroy_output_panel (panel_name )
47
+
39
48
def write_compiler (self , s ):
40
49
self .write_panel (s , "oz_compiler" )
41
50
@@ -92,9 +101,6 @@ def run(self):
92
101
self .sock .shutdown (socket .SHUT_RDWR )
93
102
self .sock .close ()
94
103
self .process .wait ()
95
- panel = self .window .find_output_panel ("oz_panel" )
96
- if panel is not None :
97
- self .window .destroy_output_panel ("oz_panel" )
98
104
99
105
def stop (self ):
100
106
exit_msg = "{Application.exit 0}\n \004 \n \n "
You can’t perform that action at this time.
0 commit comments