X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Ftestsuite.cpp;h=8f89fd65e144b63b689a7b7fea3854e7071cffd0;hb=61120e6f72b9db00cbd8288959680f8eb0322081;hp=b7a9835e009d888e780f17aac1f0701b9821f54c;hpb=b6dbd6caab62bc2c0d11ce5a45d511611eb9c2ef;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/testsuite.cpp b/src/testsuite.cpp index b7a9835e0..8f89fd65e 100644 --- a/src/testsuite.cpp +++ b/src/testsuite.cpp @@ -186,9 +186,7 @@ bool TestSuite::DoThreadTests() cout << "Creating new ThreadEngine class...\n"; try { - ThreadEngineFactory* tef = new ThreadEngineFactory(); - te = tef->Create(ServerInstance); - delete tef; + te = new ThreadEngine(ServerInstance); } catch (...) { @@ -205,7 +203,7 @@ bool TestSuite::DoThreadTests() { try { - te->Create(tst); + te->Start(tst); } catch (CoreException &ce) {