Skip to content

Commit

Permalink
Editor: Fix error when trying to get completions by pressing Tab very…
Browse files Browse the repository at this point in the history
… quickly several times
  • Loading branch information
ccordoba12 committed Oct 11, 2015
1 parent 2805955 commit 653b2a3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spyderlib/utils/introspection/plugin_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ def _handle_timeout(self):
def _handle_incoming(self, name):
# coerce to a str in case it is a QString
name = str(name)
self._threads[name].wait()
try:
self._threads[name].wait()
except AttributeError:
return
if self.result:
return
result = self._threads[name].result
Expand Down

0 comments on commit 653b2a3

Please sign in to comment.