mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 08:40:06 +00:00 
			
		
		
		
	Fix switching radar sites while loading
This commit is contained in:
		
							parent
							
								
									bb31bdfc00
								
							
						
					
					
						commit
						70ed01c155
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -164,6 +164,10 @@ public: | |||
|                        auto& [key, providerManager] = p; | ||||
|                        providerManager->Disable(); | ||||
|                     }); | ||||
| 
 | ||||
|       // Lock other mutexes before destroying, ensure loading is complete
 | ||||
|       std::unique_lock loadLevel2DataLock {loadLevel2DataMutex_}; | ||||
|       std::unique_lock loadLevel3DataLock {loadLevel3DataMutex_}; | ||||
|    } | ||||
| 
 | ||||
|    RadarProductManager* self_; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat