Skip to content

Commit 1ba5380

Browse files
committed
Remote interpreters now wait for the Execution thread to exit.
1 parent 9b76e6f commit 1ba5380

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

floppy/runner.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ def __init__(self):
4747

4848
# def __del__(self):
4949
# self.updateSocket.close()
50+
def join(self):
51+
self.executionThread.join()
5052

5153
def resetPointers(self):
5254
self.nextNodePointer = None
@@ -517,3 +519,4 @@ def spawnRunner():
517519
except Exception as e:
518520
print('Warning: error in custom node:\n{}'.format(str(e)))
519521
r = Runner()
522+
r.join()

0 commit comments

Comments
 (0)