Fix a bug in Operation observers
A nullptr instead of a shared pointer is passed into the operation observers. The solution is to pass in a lvalue otherwise the destructor of shared_ptr is called before the argument is forwarded.
else if (manager && manager->observers()(self, EventType::WILL_OPERATE, nullptr)) Operation
Edited by Haocheng LIU