mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 493720 - using the proper assert to assert the the GC is not running. r=mrbkap
This commit is contained in:
parent
daefd27739
commit
fb2b92c352
@ -631,7 +631,7 @@ js_DestroyContext(JSContext *cx, JSDestroyContextMode mode)
|
||||
|| cx->requestDepth != 0
|
||||
#endif
|
||||
) {
|
||||
JS_ASSERT(rt->gcLevel == 0);
|
||||
JS_ASSERT(!rt->gcRunning);
|
||||
|
||||
JS_UNLOCK_GC(rt);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user