Advertisement
Guest User

Untitled

a guest
Mar 13th, 2017
129
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. TimerManager::~TimerManager() {
  2.  
  3.   // If we haven't been explicitly stopped, do so now.  We don't need to grab
  4.   // the monitor here, since stop already takes care of reentrancy.
  5.  
  6.   if (state_ != STOPPED) {
  7.     try {
  8.       stop();
  9.     } catch(...) {
  10.       throw;
  11.       // uhoh
  12.     }
  13.   }
  14. }
Advertisement
RAW Paste Data Copied
Advertisement