Fixes use-after-move, closes #3820
This commit is contained in:
committed by
Daniel J. H
parent
3c81baa26e
commit
35c4c2a256
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user