protected override void Dispose(bool disposing) { if (disposing) { TShock.Initialized -= StartLogTile; fileWriter.Abort(); queue.closeHook(); com.closeHook(); log.saveQueue(null); isRunning = false; logThread.Abort(); CommandQueueThread.Abort(); } }
public void save(TSPlayer ply, Logger log) { log.saveQueue( ply ); }
public void save(TSPlayer ply, Logger log) { log.saveQueue(ply); }