mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 806433 - Make mReleaseRunnable a ref ptr. r=smaug
This commit is contained in:
parent
77f0ca6ea2
commit
0c7c1a6f53
@ -2362,7 +2362,6 @@ XPCJSRuntime::XPCJSRuntime(nsXPConnect* aXPConnect)
|
||||
mWatchdogThread(nullptr),
|
||||
mWatchdogHibernating(false),
|
||||
mLastActiveTime(-1),
|
||||
mReleaseRunnable(nullptr),
|
||||
mExceptionManagerNotAvailable(false)
|
||||
{
|
||||
#ifdef XPC_CHECK_WRAPPERS_AT_SHUTDOWN
|
||||
|
@ -965,7 +965,7 @@ private:
|
||||
nsTArray<JSGCCallback> extraGCCallbacks;
|
||||
bool mWatchdogHibernating;
|
||||
PRTime mLastActiveTime; // -1 if active NOW
|
||||
XPCIncrementalReleaseRunnable *mReleaseRunnable;
|
||||
nsRefPtr<XPCIncrementalReleaseRunnable> mReleaseRunnable;
|
||||
js::GCSliceCallback mPrevGCSliceCallback;
|
||||
|
||||
nsCOMPtr<nsIException> mPendingException;
|
||||
|
Loading…
Reference in New Issue
Block a user