Skip to content
Snippets Groups Projects
Commit 04c07281 authored by Florian Schmaus's avatar Florian Schmaus
Browse files

[Actor] Call stop() in Actor's destructor

While this does not fix anything, it appears sensible that we call
stop() prior destruction.
parent 881dc799
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@ class Actor {
void stop() { setState(Stopped); }
public:
virtual ~Actor() = default;
virtual ~Actor() { stop(); }
template <CallerEnvironment callerEnvironment = CallerEnvironment::EMPER>
void start() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment