Revert "Fixing race condition (pull request #94)"
Revert "Fixing race condition (pull request #94)"

This reverts pull request #94.

> Because YBCommunication.processRequests has no concurrency mechanism, it needs to always run from the same thread to avoid crashes \(specifically, removeObjectAtIndex will lead to a crash if multiple calls to processRequests are made from different threads\).
> 
> ‌
> 
> One of the situations which leads to this crash is when the NSURLSession data task block in YBRequest.sendRequest gets run.  iOS runs this block on a background thread, and it causes YBCommunication.processRequests to run, which leads to the crash.
> 
> ‌
> 
> This PR addresses this issue by ensuring that the block in YBRequest.sendRequest always runs from the main thread, avoiding the concurrency issue.
NPAW/lib-plugin-ios,NPAW/lib-plugin-ios,NPAW/lib-plugin-ios,NPAW/lib-plugin-ios