##// END OF EJS Templates
Catch IOError on windows with -gthread....
Fernando Perez -
Show More
@@ -844,11 +844,13 b' class IPShellGTK(IPThread):'
844 844 """Called when GTK is idle.
845 845
846 846 Must return True always, otherwise GTK stops calling it"""
847
848 update_tk(self.tk)
849 self.IP.runcode()
850 time.sleep(0.01)
851 return True
847 try:
848 update_tk(self.tk)
849 self.IP.runcode()
850 time.sleep(0.01)
851 return True
852 except IOError:
853 return True
852 854
853 855
854 856 class IPShellWX(IPThread):
General Comments 0
You need to be logged in to leave comments. Login now