add exit handler

This commit is contained in:
Leon Henrik Plickat
2024-01-06 23:55:10 +01:00
parent 2ccbfb2283
commit 732c1adb55
8 changed files with 48 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ static void *call_idle_handler_inner (void *data)
void *call_idle_handler (void *data)
{
/* Continuation barrier causes stack unwind on exceptions (i.e. errors
* in the user defined ide handler) to stop here. Otherwise the entire
* in the user defined idle handler) to stop here. Otherwise the entire
* stack created by scm_with_guile() would be unwound. This makes
* responding to exceptions nicer.
*/
@@ -30,7 +30,7 @@ void *call_idle_handler (void *data)
);
if ( call_result == NULL )
return (void *)"ERROR: An exception occured while calling the user-command handler.\n";
return (void *)"ERROR: An exception occured while calling the idle handler.\n";
return NULL;
}