Skip to content

Commit ecbc046

Browse files
authored
Clean up publishing operations when they're removed from the pipeline (#714)
1 parent 0af249a commit ecbc046

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/src/main/java/edu/wpi/grip/core/operations/network/PublishAnnotatedOperation.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,4 +162,8 @@ protected Object get(Method accessor, Object instance) {
162162
}
163163
}
164164

165+
@Override
166+
public void cleanUp() {
167+
publisher.close();
168+
}
165169
}

0 commit comments

Comments
 (0)