main: EventManager should be destroyed after the Buffers
This commit is contained in:
parent
2d82e2a2c6
commit
00d32fd392
|
@ -26,6 +26,7 @@
|
||||||
using namespace Kakoune;
|
using namespace Kakoune;
|
||||||
using namespace std::placeholders;
|
using namespace std::placeholders;
|
||||||
|
|
||||||
|
|
||||||
namespace Kakoune
|
namespace Kakoune
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -471,6 +472,7 @@ void manage_next_keypress(Context& context)
|
||||||
|
|
||||||
int main(int argc, char* argv[])
|
int main(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
|
EventManager event_manager;
|
||||||
GlobalOptionManager option_manager;
|
GlobalOptionManager option_manager;
|
||||||
GlobalHookManager hook_manager;
|
GlobalHookManager hook_manager;
|
||||||
ShellManager shell_manager;
|
ShellManager shell_manager;
|
||||||
|
@ -479,7 +481,6 @@ int main(int argc, char* argv[])
|
||||||
RegisterManager register_manager;
|
RegisterManager register_manager;
|
||||||
HighlighterRegistry highlighter_registry;
|
HighlighterRegistry highlighter_registry;
|
||||||
FilterRegistry filter_registry;
|
FilterRegistry filter_registry;
|
||||||
EventManager event_manager;
|
|
||||||
|
|
||||||
run_unit_tests();
|
run_unit_tests();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user