From: Arnaud Giersch Date: Tue, 2 Jul 2019 09:35:52 +0000 (+0200) Subject: Just let the exception flow. X-Git-Tag: v3.23.2~47 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/c8ebdd0a29f781646e66cd7a791957205d617dbe Just let the exception flow. --- diff --git a/src/simix/smx_global.cpp b/src/simix/smx_global.cpp index 25be94c5cb..007bb0aebb 100644 --- a/src/simix/smx_global.cpp +++ b/src/simix/smx_global.cpp @@ -364,11 +364,7 @@ static bool SIMIX_execute_timers() // FIXME: make the timers being real callbacks (i.e. provide dispatchers that read and expand the args) smx_timer_t timer = simgrid::simix::simix_timers.top().second; simgrid::simix::simix_timers.pop(); - try { - timer->callback(); - } catch (...) { - xbt_die("Exception thrown out of timer callback"); - } + timer->callback(); delete timer; } return result;