Browse Source
Merge branch 'master' into update-obsolete-api-usages
pull/3604/head
Dariusz Komosiński
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
2 deletions
-
native/Avalonia.Native/src/OSX/platformthreading.mm
|
|
|
@ -157,11 +157,14 @@ NSArray<NSString*>* _modes; |
|
|
|
|
|
|
|
-(void) perform |
|
|
|
{ |
|
|
|
ComPtr<IAvnSignaledCallback> cb; |
|
|
|
@synchronized (self) { |
|
|
|
_signaled = false; |
|
|
|
if(_parent != NULL && _parent->SignaledCallback != NULL) |
|
|
|
_parent->SignaledCallback->Signaled(0, false); |
|
|
|
if(_parent != NULL) |
|
|
|
cb = _parent->SignaledCallback; |
|
|
|
} |
|
|
|
if(cb != nullptr) |
|
|
|
cb->Signaled(0, false); |
|
|
|
} |
|
|
|
|
|
|
|
-(void) setParent:(PlatformThreadingInterface *)parent |
|
|
|
|