mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	Windows: cefclient: Fix return value check for AcquireSync (fixes issue #2933)
This commit is contained in:
		| @@ -254,7 +254,7 @@ bool Texture2D::has_mutex() const { | ||||
| bool Texture2D::lock_key(uint64_t key, uint32_t timeout_ms) { | ||||
|   if (keyed_mutex_) { | ||||
|     const auto hr = keyed_mutex_->AcquireSync(key, timeout_ms); | ||||
|     return SUCCEEDED(hr); | ||||
|     return (hr == S_OK); | ||||
|   } | ||||
|   return true; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user