示例#1
0
 public void Dispose()
 {
     running = false;
     source.Close();
     connection.Dispose();
 }
示例#2
0
文件: Runloop.cs 项目: rphi/WingMan
 private void Stop()
 {
     source.Close();
     connection.Dispose();
     Stopped("", new RunLoopStoppedEventArgs(RunLoopStopType.Graceful));
 }