| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d550de4 commit dab64bb
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -150,7 +150,10 @@ class WorkerThreadData { | |||
| 150 | 150 | ||
| 151 | 151 | isolate->Dispose(); | |
| 152 | 152 | ||
| 153 | - // Need to run the loop one more time to close the platform's uv_async_t | ||
| 153 | + // Need to run the loop twice more to close the platform's uv_async_t | ||
| 154 | + // TODO(addaleax): It would be better for the platform itself to provide | ||
| 155 | + // some kind of notification when it has fully cleaned up. | ||
| 156 | + uv_run(&loop_, UV_RUN_ONCE); | ||
| 154 | 157 | uv_run(&loop_, UV_RUN_ONCE); | |
| 155 | 158 | ||
| 156 | 159 | CheckedUvLoopClose(&loop_); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments