mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 18:10:05 +00:00 
			
		
		
		
	Disable placefile refresh on destruction
This commit is contained in:
		
							parent
							
								
									70c858d847
								
							
						
					
					
						commit
						b1b06bc125
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -93,6 +93,7 @@ public: | ||||||
|    { |    { | ||||||
|       std::unique_lock refreshLock(refreshMutex_); |       std::unique_lock refreshLock(refreshMutex_); | ||||||
|       std::unique_lock timerLock(timerMutex_); |       std::unique_lock timerLock(timerMutex_); | ||||||
|  |       enabled_ = false; | ||||||
|       refreshTimer_.cancel(); |       refreshTimer_.cancel(); | ||||||
|       timerLock.unlock(); |       timerLock.unlock(); | ||||||
|       refreshLock.unlock(); |       refreshLock.unlock(); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat