Skip to content

Commit

Permalink
Attempt to fix synchronization issue which cause streams to block for…
Browse files Browse the repository at this point in the history
…ever, #214
  • Loading branch information
gnodet committed Jan 23, 2018
1 parent a3a115b commit 1ce3880
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ private void run () {
Log.debug("NonBlockingInputStream shutdown");
synchronized (this) {
thread = null;
threadIsReading = false;
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ private void run () {
Log.debug("NonBlockingReader shutdown");
synchronized (this) {
thread = null;
threadIsReading = false;
}
}
}
Expand Down

0 comments on commit 1ce3880

Please sign in to comment.