Loading src/linux/event.cpp +10 −1 Changes for src/linux/event.cpp: 10 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -342,12 +342,20 @@ namespace netplus { if(!free) goto SEARCHFREEWORKINGTHREAD; }catch (NetException& e) { switch (e.getErrorType()) { case NetException::Critical:{ throw e; } } std::cout << e.what() << std::endl; if(ccon){ for(size_t ii = 0; ii < thdsamount; ii++){ if(ccon && thcon[ii]==ccon){ if(thcon[ii]==ccon){ CloseEventHandler(ccon); thcon[ii]=nullptr; } } } } } Loading @@ -356,6 +364,7 @@ namespace netplus { case NetException::Critical:{ std::cerr << e.what() << std::endl; event::_Run=false; break; } } } Loading Loading
src/linux/event.cpp +10 −1 Changes for src/linux/event.cpp: 10 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -342,12 +342,20 @@ namespace netplus { if(!free) goto SEARCHFREEWORKINGTHREAD; }catch (NetException& e) { switch (e.getErrorType()) { case NetException::Critical:{ throw e; } } std::cout << e.what() << std::endl; if(ccon){ for(size_t ii = 0; ii < thdsamount; ii++){ if(ccon && thcon[ii]==ccon){ if(thcon[ii]==ccon){ CloseEventHandler(ccon); thcon[ii]=nullptr; } } } } } Loading @@ -356,6 +364,7 @@ namespace netplus { case NetException::Critical:{ std::cerr << e.what() << std::endl; event::_Run=false; break; } } } Loading