add exit handler
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user