eric7/JediInterface/JediServer.py

branch
eric7
changeset 8943
23f9c7b9e18e
parent 8920
fe16c3cf165d
child 9056
af7c8c7b7c62
child 9067
abad8563ee7d
child 9111
4ac66b6c33a4
--- a/eric7/JediInterface/JediServer.py	Mon Feb 07 22:02:35 2022 +0100
+++ b/eric7/JediInterface/JediServer.py	Tue Feb 08 16:21:09 2022 +0100
@@ -11,7 +11,7 @@
 import os
 import uuid
 
-from PyQt6.QtCore import pyqtSlot, QCoreApplication, QTimer
+from PyQt6.QtCore import pyqtSlot, QCoreApplication, QTimer, QThread
 from PyQt6.QtWidgets import QInputDialog, QLineEdit, QDialog
 
 from EricWidgets.EricApplication import ericApp
@@ -264,6 +264,7 @@
         timer.start(5000)           # 5s timeout
         while self.__calltips is None and timer.isActive():
             QCoreApplication.processEvents()
+            QThread.msleep(100)
         
         return [] if self.__calltips is None else self.__calltips
     

eric ide

mercurial