diff --git a/src/lib/ecore/ecore_signal.c b/src/lib/ecore/ecore_signal.c index 65b9179393..e03233dcae 100644 --- a/src/lib/ecore/ecore_signal.c +++ b/src/lib/ecore/ecore_signal.c @@ -293,7 +293,6 @@ _ecore_signal_shutdown(void) sigset_t newset; ecore_fork_reset_callback_del(_ecore_signal_cb_fork, NULL); - _ecore_signal_pipe_shutdown(); // we probably should restore.. but not a good idea // pthread_sigmask(SIG_SETMASK, &sig_oldset, NULL); // at least do not trigger signal callback after shutdown @@ -313,6 +312,7 @@ _ecore_signal_shutdown(void) # endif pthread_sigmask(SIG_BLOCK, &newset, NULL); #endif + _ecore_signal_pipe_shutdown(); exit_signal_received = 0; }