Skip to content

Commit 190a7ef

Browse files
committed
Use a joinable thread again
This was the original behaviour; I somehow got this wrong in 7e028ed.
1 parent ead128e commit 190a7ef

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/wxServDisc.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -515,11 +515,7 @@ wxServDisc::wxServDisc(void* p, const wxString& what, int type)
515515
return;
516516
}
517517

518-
#if wxVERSION_NUMBER >= 2905 // 2.9.4 still has a bug here: http://trac.wxwidgets.org/ticket/14626
519-
if( CreateThread(wxTHREAD_DETACHED) != wxTHREAD_NO_ERROR )
520-
#else
521-
if( Create() != wxTHREAD_NO_ERROR )
522-
#endif
518+
if( CreateThread() != wxTHREAD_NO_ERROR )
523519
err.Printf(_("Could not create scan thread!"));
524520
else
525521
if( GetThread()->Run() != wxTHREAD_NO_ERROR )

0 commit comments

Comments
 (0)