Fixes use-after-move, closes #3820

This commit is contained in:
Daniel J. Hofmann
2017-03-16 13:59:30 +01:00
committed by Daniel J. H
parent 3c81baa26e
commit 35c4c2a256
3 changed files with 14 additions and 8 deletions
+1 -1
View File
@@ -355,7 +355,7 @@ int main(int argc, const char *argv[]) try
else
{
util::Log(logWARNING) << "Didn't exit within 2 seconds. Hard abort!";
server_task.reset(); // just kill it
std::exit(EXIT_FAILURE);
}
}