src/eric7/UI/UserInterface.py

branch
eric7
changeset 11027
89045c060113
parent 11006
a671918232f3
child 11032
84a66daa5e34
diff -r 53d18eb2062d -r 89045c060113 src/eric7/UI/UserInterface.py
--- a/src/eric7/UI/UserInterface.py	Fri Nov 01 10:34:41 2024 +0100
+++ b/src/eric7/UI/UserInterface.py	Fri Nov 01 10:35:36 2024 +0100
@@ -8533,6 +8533,10 @@
         # shut down the global file system watcher
         EricFileSystemWatcher.instance().shutdown()
 
+        # revert changes to sys.stdout and sys.stderr
+        sys.stdout = sys.__stdout__
+        sys.stderr = sys.__stderr__
+
         return True
 
     def isOnline(self):

eric ide

mercurial