Bug 1257568. Remove the JSContext argument of WorkerPrivate::Kill. r=khuey
This commit is contained in:
@@ -1936,11 +1936,8 @@ RuntimeService::Shutdown()
|
||||
{
|
||||
MutexAutoUnlock unlock(mMutex);
|
||||
|
||||
AutoSafeJSContext cx;
|
||||
JSAutoRequest ar(cx);
|
||||
|
||||
for (uint32_t index = 0; index < workers.Length(); index++) {
|
||||
if (!workers[index]->Kill(cx)) {
|
||||
if (!workers[index]->Kill()) {
|
||||
NS_WARNING("Failed to cancel worker!");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user