Commit f6568b20 authored by NTAuthority's avatar NTAuthority

make binding manager destruct before command/variable manager to prevent...

make binding manager destruct before command/variable manager to prevent unregistration from causing nasty surprises
parent 531d8d7c
Pipeline #78 skipped
...@@ -15,11 +15,11 @@ namespace console ...@@ -15,11 +15,11 @@ namespace console
{ {
struct ConsoleManagers : public ConsoleManagersBase struct ConsoleManagers : public ConsoleManagersBase
{ {
std::unique_ptr<BindingManager> bindingManager;
std::unique_ptr<ConsoleCommandManager> commandManager; std::unique_ptr<ConsoleCommandManager> commandManager;
std::unique_ptr<ConsoleVariableManager> variableManager; std::unique_ptr<ConsoleVariableManager> variableManager;
std::unique_ptr<BindingManager> bindingManager;
}; };
Context::Context() Context::Context()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment