mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 941672: assert thread state init'ed upon seeing Exclusive context (r=shu).
This commit is contained in:
parent
8eb6356a95
commit
a4dbd57c7e
@ -1053,7 +1053,11 @@ js::ThreadSafeContext::ThreadSafeContext(JSRuntime *rt, PerThreadData *pt, Conte
|
||||
contextKind_(kind),
|
||||
perThreadData(pt),
|
||||
allocator_(nullptr)
|
||||
{ }
|
||||
{
|
||||
#ifdef JS_WORKER_THREADS
|
||||
JS_ASSERT_IF(kind == Context_Exclusive, rt->workerThreadState != nullptr);
|
||||
#endif
|
||||
}
|
||||
|
||||
bool
|
||||
ThreadSafeContext::isForkJoinSlice() const
|
||||
|
Loading…
Reference in New Issue
Block a user