Skip to content

Commit

Permalink
Fix undefined in_silence
Browse files Browse the repository at this point in the history
  • Loading branch information
twose committed Oct 30, 2020
1 parent 26ba02b commit 5da019d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext-src/swoole_coroutine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -619,8 +619,8 @@ void PHPCoroutine::main_func(void *arg) {
task->output_ptr = nullptr;
#if PHP_VERSION_ID < 80100
task->array_walk_fci = nullptr;
task->in_silence = false;
#endif
task->in_silence = false;

task->co = Coroutine::get_current();
task->co->set_task((void *) task);
Expand Down

0 comments on commit 5da019d

Please sign in to comment.