Skip to content

Commit

Permalink
Fix debug assert after 270212@main
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=264264
rdar://118003053

Reviewed by Chris Dumez.

* Source/WebKit/UIProcess/Cocoa/XPCConnectionTerminationWatchdog.mm:
(WebKit::XPCConnectionTerminationWatchdog::watchdogTimerFired):

Canonical link: https://commits.webkit.org/270276@main
  • Loading branch information
pvollan committed Nov 6, 2023
1 parent 7413ad1 commit 57537b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

void XPCConnectionTerminationWatchdog::watchdogTimerFired()
{
if (m_process && m_process->connection())
if (m_process && m_process->hasConnection())
terminateWithReason(m_process->connection()->xpcConnection(), ReasonCode::WatchdogTimerFired, "XPCConnectionTerminationWatchdog::watchdogTimerFired");
delete this;
}
Expand Down

0 comments on commit 57537b2

Please sign in to comment.