Commit 8462266f authored by jan.koester's avatar jan.koester
Browse files

thread bugfix

parent e8a1ff17
Loading
Loading
Loading
Loading
+3 −2
Changes for src/linux/event.cpp: 3 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -343,11 +343,12 @@ namespace netplus {
                            goto SEARCHFREEWORKINGTHREAD;
                    }catch (NetException& e) {
                        for(size_t ii = 0; ii < thdsamount; ii++){
                            if(thcon[ii]==ccon){
                            if(ccon && thcon[ii]==ccon){
                                CloseEventHandler(ccon);
                                thcon[ii]=nullptr;
                            }
                        }
                        CloseEventHandler(ccon);

                    }
                }
            } catch (NetException& e) {