зеркало из https://github.com/mozilla/gecko-dev.git
2f23818440
Some recent work on timers changed how we handle callbacks and associated closure data: prior to these changes, canceling timers would not null out associated closure data, so calling GetClosure() on a timer after canceling it would return what you had put in. After these changes, however, GetClosure() after cancellation would retrieve a null value, causing anything that assumed non-nullness to crash. The simple fix is to move the GetClosure() call prior to Cancel()'ing the timer. |
||
---|---|---|
.. | ||
moz.build | ||
nsApplicationCache.h | ||
nsApplicationCacheService.cpp | ||
nsApplicationCacheService.h | ||
nsCache.cpp | ||
nsCache.h | ||
nsCacheDevice.h | ||
nsCacheEntry.cpp | ||
nsCacheEntry.h | ||
nsCacheEntryDescriptor.cpp | ||
nsCacheEntryDescriptor.h | ||
nsCacheMetaData.cpp | ||
nsCacheMetaData.h | ||
nsCacheRequest.h | ||
nsCacheService.cpp | ||
nsCacheService.h | ||
nsCacheSession.cpp | ||
nsCacheSession.h | ||
nsCacheUtils.cpp | ||
nsCacheUtils.h | ||
nsDeleteDir.cpp | ||
nsDeleteDir.h | ||
nsDiskCache.h | ||
nsDiskCacheBinding.cpp | ||
nsDiskCacheBinding.h | ||
nsDiskCacheBlockFile.cpp | ||
nsDiskCacheBlockFile.h | ||
nsDiskCacheDevice.cpp | ||
nsDiskCacheDevice.h | ||
nsDiskCacheDeviceSQL.cpp | ||
nsDiskCacheDeviceSQL.h | ||
nsDiskCacheEntry.cpp | ||
nsDiskCacheEntry.h | ||
nsDiskCacheMap.cpp | ||
nsDiskCacheMap.h | ||
nsDiskCacheStreams.cpp | ||
nsDiskCacheStreams.h | ||
nsICache.idl | ||
nsICacheEntryDescriptor.idl | ||
nsICacheListener.idl | ||
nsICacheService.idl | ||
nsICacheSession.idl | ||
nsICacheVisitor.idl | ||
nsMemoryCacheDevice.cpp | ||
nsMemoryCacheDevice.h |