浏览代码

bugfix for handled exceptions returning "exit"

Nicolas Cannasse 3 年之前
父节点
当前提交
6f2e81ebb2
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/std/debug.c

+ 1 - 0
src/std/debug.c

@@ -235,6 +235,7 @@ HL_API int hl_debug_wait( int pid, int *thread, int timeout ) {
 		default:
 			return 3;
 		}
+		break;
 	case EXIT_PROCESS_DEBUG_EVENT:
 		return 0;
 	default: