You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by GitBox <gi...@apache.org> on 2022/04/04 16:46:37 UTC

[GitHub] [geode] nonbinaryprogrammer commented on a diff in pull request #7471: GEODE-10106: Handle NPE in QueueManagerImpl

nonbinaryprogrammer commented on code in PR #7471:
URL: https://github.com/apache/geode/pull/7471#discussion_r841947099


##########
geode-core/src/main/java/org/apache/geode/cache/client/internal/QueueManagerImpl.java:
##########
@@ -1423,6 +1424,11 @@ private void logError(String message, Throwable t) {
   protected class RedundancySatisfierTask extends PoolTask {
     private boolean isCancelled;
     private ScheduledFuture<?> future;
+    private QueueManagerImpl queueManager;

Review Comment:
   This holds a reference to the QueueManagerImpl so that it doesn't get freed too soon. See comments above fore more detail.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@geode.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org