forked from higherkindness/rules_scala
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix race condition. Also make sure to flush output stream before writ…
…ing the worker response There was a race condition where a task could be cancelled with the worker output streams still set to null, which would cause a null pointer exception in the worker. We also weren't always flushing the print stream before responding to Bazel about the work request. This fixes that.
- Loading branch information
Showing
1 changed file
with
22 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters