Subject: | gracefully exiting Tcl |
Unable to exit Tcl interpreter (destruction of object cause glibc error).
Upon destruction, Tcl object destruction causes glibc error:
*** glibc detected *** free(): invalid next size (fast): 0x099fc288 ***
Attempt to explicitly destroy object/interpreter
using:
1. $tcl->Eval("exit");
2. $tcl->DESTROY();
Causes global destruction of all other objects to stop (seg fault).
Is there a way to gracefully exit out of the interpreter?