func StopServer() {
	if serverInstance != nil {
		serverInstance.Stop()
		serverInstance = nil
		startError = nil
	}
}
// StopServer stops the global trap server, if it is running.
StopServer stops the global trap server, if it is running.
// StopServer stops the global trap server if it is running .
func StopServer() {
	if serverInstance != nil {
		serverInstance.Stop()
		serverInstance = nil
		startError = nil
	}
}
func StopServer ( ) { if serverInstance != nil { serverInstance . Stop ( ) serverInstance = nil startError = nil } }
StopServer stops the global trap server, if it is running.
StopServer stops the global trap server if it is running .