コード例 #1
0
 private void TerminateThreads()
 {
     _rawInputListener?.StopListening();
     _controlSender?.Stop();
     InputListener?.StopListening();
     _serialPortHandler?.StopListening();
     _pipe?.Stop();
     _killGunListener = true;
 }
コード例 #2
0
 private void TerminateThreads()
 {
     _rawInputListener?.StopListening();
     _fastIo?.StopListening();
     _controlSender?.Stop();
     _inputListener?.StopListening();
     _serialPortHandler?.StopListening();
     _europa?.StopListening();
     KillGunListener = true;
 }