keymap: Allocate BApplication on the heap.
Avoids triggering an assert at program exit.
This commit is contained in:
parent
324336d1ed
commit
514bace91d
@ -151,7 +151,7 @@ main(int argc, char** argv)
|
||||
if (argc > optind && input == NULL)
|
||||
input = argv[optind];
|
||||
|
||||
BApplication app("application/x-vnd.Haiku-keymap-cli");
|
||||
BApplication* app = new BApplication("application/x-vnd.Haiku-keymap-cli");
|
||||
Keymap keymap;
|
||||
|
||||
switch (mode) {
|
||||
|
Loading…
Reference in New Issue
Block a user