GitToTheHub commented on PR #942:
URL: 
https://github.com/apache/cordova-plugin-camera/pull/942#issuecomment-3755741446

   > Internally, CDVCommandDelegate has a queue of plugin messages to send and 
it ensures that those are always sent to the webview on the main thread.
   
   Thanks. GPT says that `strongSelf.hasPendingOperation = NO;` has to be on 
the main thread, as setting strongSelf.hasPendingOperation = NO is accessing a 
property that might be read from other threads. Is this really true?
   
   Also I see `hasPendingOperation` is never used anywhere, it is only set to 
`YES` or `NO`. Do you think this property can be removed?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to