WebPlatformForEmbedded / WPEWebKit

WPE WebKit port (downstream)
211 stars 135 forks source link

[wpe-2.38] Improve RWI's frontend shutdown handling #1225

Closed Scony closed 9 months ago

Scony commented 9 months ago

This PR improves RWI's frontend shutdown handling so that the crash described in https://github.com/WebPlatformForEmbedded/WPEWebKit/issues/1220 is not visible anymore in release builds.

Please note that the underlying issue is not fixed with that. In the debug builds there are few assertions like

ASSERT(m_automationTargets.contains(connectionTargetPair) || m_inspectionTargets.contains(connectionTargetPair));

which are still causing crashes thus signaling that the shutdown of RWI frontend connection is not graceful.

Scony commented 9 months ago

Superseded by ee7cd8685faf8b81bca3cb04c77515c34b4c500e