mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 894798 - disable word-cache expiration timer on release builds. r=roc
This commit is contained in:
parent
9de8db6aa9
commit
c49dacf591
@ -1455,6 +1455,9 @@ gfxFontCache::gfxFontCache()
|
||||
obs->AddObserver(new Observer, "memory-pressure", false);
|
||||
}
|
||||
|
||||
#ifndef RELEASE_BUILD
|
||||
// Currently disabled for release builds, due to unexplained crashes
|
||||
// during expiration; see bug 717175 & 894798.
|
||||
mWordCacheExpirationTimer = do_CreateInstance("@mozilla.org/timer;1");
|
||||
if (mWordCacheExpirationTimer) {
|
||||
mWordCacheExpirationTimer->
|
||||
@ -1462,6 +1465,7 @@ gfxFontCache::gfxFontCache()
|
||||
SHAPED_WORD_TIMEOUT_SECONDS * 1000,
|
||||
nsITimer::TYPE_REPEATING_SLACK);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
gfxFontCache::~gfxFontCache()
|
||||
|
Loading…
Reference in New Issue
Block a user