Chromium Code Reviews| Index: Source/web/WebKit.cpp |
| =================================================================== |
| --- Source/web/WebKit.cpp (revision 190224) |
| +++ Source/web/WebKit.cpp (working copy) |
| @@ -217,6 +217,8 @@ |
| // worker termination. |
| WorkerThread::terminateAndWaitForAllWorkers(); |
| + ModulesInitializer::terminateThreads(); |
| + |
| // Detach the main thread before starting the shutdown sequence |
| // so that the main thread won't get involved in a GC during the shutdown. |
| ThreadState::detachMainThread(); |