Event handlers set to nullptr in destructor