Advertisement
Guest User

Untitled

a guest
Mar 13th, 2017
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.29 KB | None | 0 0
  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
Add Comment
Please, Sign In to add comment
Advertisement