logic: terminating all running tasks before closing the application (issue #343)
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
#include "utility/ScopedFunctor.h"
|
||||
|
||||
ScopedFunctor::ScopedFunctor()
|
||||
: m_onDestroy([](){})
|
||||
{
|
||||
}
|
||||
|
||||
ScopedFunctor::ScopedFunctor(std::function<void(void)> onDestroy)
|
||||
: m_onDestroy(onDestroy)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user