Browse Source

libobs: Set core signal handlers to NULL after destroying

Fixes https://obsproject.com/mantis/view.php?id=595
Caitlin Potter 9 years ago
parent
commit
65e738e253
1 changed files with 2 additions and 0 deletions
  1. 2 0
      libobs/obs.c

+ 2 - 0
libobs/obs.c

@@ -820,6 +820,8 @@ void obs_shutdown(void)
 	obs_free_graphics();
 	obs_free_graphics();
 	proc_handler_destroy(obs->procs);
 	proc_handler_destroy(obs->procs);
 	signal_handler_destroy(obs->signals);
 	signal_handler_destroy(obs->signals);
+	obs->procs = NULL;
+	obs->signals = NULL;
 
 
 	module = obs->first_module;
 	module = obs->first_module;
 	while (module) {
 	while (module) {