diff --git a/{{ cookiecutter.format }}/{{ cookiecutter.class_name }}/main.m b/{{ cookiecutter.format }}/{{ cookiecutter.class_name }}/main.m index 079b7eb..f976f09 100644 --- a/{{ cookiecutter.format }}/{{ cookiecutter.class_name }}/main.m +++ b/{{ cookiecutter.format }}/{{ cookiecutter.class_name }}/main.m @@ -59,6 +59,8 @@ int main(int argc, char *argv[]) { // Don't write bytecode; we can't modify the app bundle // after it has been signed. config.write_bytecode = 0; + // Ensure that signal handlers are installed + config.install_signal_handlers = 1; // Isolated apps need to set the full PYTHONPATH manually. config.module_search_paths_set = 1; // For debugging - enable verbose mode.