diff options
author | Vladimir Kobal <vlad@prokk.net> | 2020-08-17 10:31:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-17 10:31:25 +0300 |
commit | 43c4d1edaaefd38c5597d6a83a17cdc219ff395e (patch) | |
tree | 626312f89e7760a5a5755a9b92bdcb4048406b25 /exporting/exporting_engine.c | |
parent | 3136ef137362e4f4bae50758964e3cbf22ff3e84 (diff) |
Add check for spurious wakeups (#9751)
Diffstat (limited to 'exporting/exporting_engine.c')
-rw-r--r-- | exporting/exporting_engine.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/exporting/exporting_engine.c b/exporting/exporting_engine.c index c617a97b26..6a1320cd11 100644 --- a/exporting/exporting_engine.c +++ b/exporting/exporting_engine.c @@ -67,6 +67,7 @@ static void exporting_main_cleanup(void *ptr) found++; info("stopping worker for instance %s", instance->config.name); uv_mutex_unlock(&instance->mutex); + instance->data_is_ready = 1; uv_cond_signal(&instance->cond_var); } else info("found stopped worker for instance %s", instance->config.name); |