Please sign in to comment.
Make sure a selector isn't canceled before reading it
If a selector is canceled then isReadable will throw an exception. To avoid this exception and do the right thing make sure that the selector is valid before checking if it is readable. Change-Id: If3f9542e371eaeddf2bdea05b14b6d7263803e6a Reviewed-on: http://review.couchbase.org/6920 Tested-by: Michael Wiederhold <firstname.lastname@example.org> Reviewed-by: Matt Ingenthron <email@example.com>
- Loading branch information...
Showing with 2 additions and 2 deletions.