Protect setting G.result_dict
with G.progress_lock
This commit is contained in:
@@ -259,8 +259,7 @@ def benchmark_thread(ctx):
|
||||
with G.progress_lock:
|
||||
if G.cancel:
|
||||
return
|
||||
|
||||
G.result_dict = result
|
||||
G.result_dict = result
|
||||
|
||||
|
||||
################################################################################
|
||||
|
Reference in New Issue
Block a user