When application using library is waken up code in library causes random crashes related to data read from input stream.
I found possible cause of this issue and applied patch locally. I'm in process of testing this solution and will push changes if fix will be confirmed to solve this issue.
Confirmed that fix works correctly
When application using library is waken up code in library causes random crashes related to data read from input stream.