mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 18:40:05 +00:00 
			
		
		
		
	Merge pull request #371 from dpaulat/hotfix/radar-product-manager-destructor-race
Radar Product Manager rare crash when changing radar sites
This commit is contained in:
		
						commit
						f2955a841a
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -794,10 +794,10 @@ void RadarProductManagerImpl::RefreshDataSync( | ||||||
|       interval = kSlowRetryInterval_; |       interval = kSlowRetryInterval_; | ||||||
|    } |    } | ||||||
| 
 | 
 | ||||||
|  |    std::unique_lock const lock(providerManager->refreshTimerMutex_); | ||||||
|  | 
 | ||||||
|    if (providerManager->refreshEnabled_) |    if (providerManager->refreshEnabled_) | ||||||
|    { |    { | ||||||
|       std::unique_lock lock(providerManager->refreshTimerMutex_); |  | ||||||
| 
 |  | ||||||
|       logger_->debug( |       logger_->debug( | ||||||
|          "[{}] Scheduled refresh in {:%M:%S}", |          "[{}] Scheduled refresh in {:%M:%S}", | ||||||
|          providerManager->name(), |          providerManager->name(), | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat