清晰地启动和关闭服务器应用程序,在退出前释放所有资源。
Cleanly startup and shutdown server application, freeing resources in order before exiting.