mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 04:52:06 +02:00
If stop_timer() is called from ~EventReceiver(), then the virtual functions will end up calling the overload from the base class. As EventReceiver::class_name() is pure virtual, this calls __cxa_pure_virtual and crashes. We should not be calling virtual functions from the destructor, and especially not pure virtual ones. This "fixes" a crash in Piano, but the root cause of the problem is still unfixed.
5.0 KiB
5.0 KiB