Bugfix: Perform proper process shutdown on 'quit' and error.

diff --git a/debugger/debug.l b/debugger/debug.l
index 02aa298..045ec39 100644
--- a/debugger/debug.l
+++ b/debugger/debug.l
@@ -239,7 +239,7 @@
         if (!line)
         {
             fprintf( stderr, "\n" );
-            exit(0);
+            DEBUG_Exit(0);
         }
 
         /* Remove leading and trailing whitespace from the line */
@@ -264,7 +264,7 @@
             if (size < len + 1)
             {
                 fprintf(stderr,"Fatal readline goof.\n");
-                exit(0);
+                DEBUG_Exit(0);
             }
             strcpy(buf, line);
             buf[len] = '\n';