disable RemoveVectoredExceptionHandler error checking

it's failing with error 258 - wait operation timed out
if c_to_factor(quot) is not called, it still "fails" with error 0 - operation successful
perhaps we need to clean up resources like the master io completion port?
db4
Doug Coleman 2007-12-12 13:01:25 -06:00
parent 8cb2675a70
commit c9daaa8eca
1 changed files with 1 additions and 2 deletions

View File

@ -87,8 +87,7 @@ void c_to_factor_toplevel(CELL quot)
if(!AddVectoredExceptionHandler(0, (void*)exception_handler))
fatal_error("AddVectoredExceptionHandler failed", 0);
c_to_factor(quot);
if(!RemoveVectoredExceptionHandler((void*)exception_handler))
fatal_error("RemoveVectoredExceptionHandler failed", 0);
RemoveVectoredExceptionHandler((void*)exception_handler);
}
void open_console(void)