Skip to content

Commit e15f590

Browse files
committed
Fix Startup issue on MacOS #37
1 parent dd20557 commit e15f590

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

api/globalvars.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
# Licensed under GNU/GPLv3
99
# Copyright (C) 2019, Oğuzhan Eroğlu (https://oguzhaneroglu.com/) <[email protected]>
1010

11+
import sys
1112
import threading
1213
import multiprocessing
1314

@@ -21,7 +22,8 @@
2122
inferior_run_times = {}
2223
step_time = False
2324
is_enhanced_collabration = False
24-
changed_registers = multiprocessing.Manager().dict()
25+
if sys.platform != "darwin" or __name__ == "__main__":
26+
changed_registers = multiprocessing.Manager().dict()
2527
dont_emit_until_stop_or_exit = False
2628

2729
collabration_state = {

0 commit comments

Comments
 (0)