删除defer
This commit is contained in:
parent
5c0f16e352
commit
7816c447fa
|
@ -83,9 +83,9 @@ func DestroySimulation(simulationId string) {
|
||||||
// simulationInfo.Destroy()
|
// simulationInfo.Destroy()
|
||||||
// 停止ecs world
|
// 停止ecs world
|
||||||
simulationInfo.World.Close()
|
simulationInfo.World.Close()
|
||||||
defer message_server.Close(simulationInfo)
|
message_server.Close(simulationInfo)
|
||||||
// 发布销毁消息
|
// 发布销毁消息
|
||||||
defer message_server.PubSimulationDestroyMsg(simulationId)
|
message_server.PubSimulationDestroyMsg(simulationId)
|
||||||
// 停止第三方
|
// 停止第三方
|
||||||
stopThirdParty(simulationInfo)
|
stopThirdParty(simulationInfo)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue