That prevents a crash on Flexisip termination which happened because some singleton objects need to unregister themselve from the main loop on destruction whereas singleton object are destroyed after main() return.
That prevents a crash on Flexisip termination which happened because some singleton objects need to unregister themselve from the main loop on destruction whereas singleton object are destroyed after main() return.