diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-22 09:48:35 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-22 09:48:35 +0000 |
commit | 89293c4ba131a763aabfdadf35ddd658503efb7c (patch) | |
tree | 3210c0479aa51c0bdd2185f1b2f0a0ff7cd27393 /mjit_worker.c | |
parent | 821ff80c0cdf19351739147e43f1bc2d853a51d0 (diff) | |
download | ruby-89293c4ba131a763aabfdadf35ddd658503efb7c.tar.gz |
mjit_worker.c: check appropriate flag to stop
This was not intentional in r65299.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'mjit_worker.c')
-rw-r--r-- | mjit_worker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mjit_worker.c b/mjit_worker.c index 9ea0fe72f5..637ab1f2a1 100644 --- a/mjit_worker.c +++ b/mjit_worker.c @@ -1187,7 +1187,7 @@ copy_cache_from_main_thread(struct mjit_copy_job *job) rb_native_cond_wait(&mjit_worker_wakeup, &mjit_engine_mutex); verbose(3, "Getting wakeup from client"); - if (worker_stopped) { /* for cond broadcast from stop_worker() */ + if (stop_worker_p) { /* for cond broadcast from stop_worker() */ success_p = FALSE; break; } |