Closed Shashank-Pandey-ML closed 2 years ago
Move the code from acquiring the lock to releasing the lock inside try-catch. Mainly done to make sure that the locks are released in case of errors after acquiring the lock. This also helps when the SDK is used with multithreading.
Move the code from acquiring the lock to releasing the lock inside try-catch. Mainly done to make sure that the locks are released in case of errors after acquiring the lock. This also helps when the SDK is used with multithreading.