mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 00:05:36 +00:00
Bug 1583417: Remove assertion that may fire spuriously due to racy condition; r=mhowell
This assertion could fire if the profiler state changes between beginning and ending a DLL load. That's less than ideal, so let's just get rid of it. Differential Revision: https://phabricator.services.mozilla.com/D46897 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
4f9a3f24ba
commit
edafb91e6b
@ -61,7 +61,6 @@ void LoaderObserver::OnEndDllLoad(void* aContext, NTSTATUS aNtStatus,
|
||||
DesuppressStackWalking();
|
||||
#endif
|
||||
|
||||
MOZ_ASSERT_IF(IsProfilerPresent(), aContext);
|
||||
UniquePtr<LoadContext> loadContext(static_cast<LoadContext*>(aContext));
|
||||
if (loadContext && IsValidProfilerLabel(loadContext->mProfilerLabel)) {
|
||||
ProfilerLabelEnd(loadContext->mProfilerLabel);
|
||||
|
Loading…
Reference in New Issue
Block a user