Skip to content

Draft: Resolve "enh(core): prevent slots being called when slot owner has been already destroyed"

Description

Prevent slots being called when slot owner has been already destroyed by optionally storing a weak pointer in the Slot object. This allows zero code change and will work as long as you inherit from HasSlots and use HasSlots::newSlot() to create slots.

Closes #1141

How to test it?

  • unit test
Edited by Didier WECKMANN

Merge request reports