Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.


Browse files Browse the repository at this point in the history
8301712: [linux] Crash on exit from WebKit 615.1
Backport-of: 13d8df31e7bc4336d01ec859e127756928db30d4
  • Loading branch information
kevinrushforth committed Mar 13, 2023
1 parent 27af394 commit e43e56b
Showing 1 changed file with 7 additions and 1 deletion.
Expand Up @@ -26,7 +26,9 @@

#include "config.h"
#include "ThreadTimers.h"

#include <wtf/java/JavaEnv.h>
#include "MainThreadSharedTimer.h"
#include "SharedTimer.h"
#include "ThreadGlobalData.h"
Expand Down Expand Up @@ -63,7 +65,11 @@ void ThreadTimers::setSharedTimer(SharedTimer* sharedTimer)

m_sharedTimer = sharedTimer;

if (sharedTimer && !g_ShuttingDown) {
if (sharedTimer) {
m_sharedTimer->setFiredFunction([] { threadGlobalData().threadTimers().sharedTimerFiredInternal(); });
Expand Down

1 comment on commit e43e56b

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.