Fix memory leak in SimulationServer
If I'm not mistaken, there's a memory leak in SimulationServer
. To be specific, the memory allocated by mThreadBarrier
doesn't seem to be freed when a SimulationServer
is destroyed. Although, this is not a severe issue, I think it's worth fixing it.