Skip to content


Browse files Browse the repository at this point in the history
8301712: [linux] Crash on exit from WebKit 615.1
Backport-of: 13d8df3
  • Loading branch information
kevinrushforth committed Feb 11, 2023
1 parent b30861f commit c05063c
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 c05063c

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.