mirror of
https://github.com/apache/nifi.git
synced 2025-02-07 18:48:51 +00:00
NIFI-12913 Corrected NPE for Python Log Listener ID
This closes #8526 Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
parent
4d825e6b65
commit
2303a15f8e
@ -361,7 +361,9 @@ public class PythonProcess {
|
||||
}
|
||||
|
||||
private synchronized void killProcess() {
|
||||
StandardLogLevelChangeHandler.getHandler().removeListener(logListenerId);
|
||||
if (logListenerId != null) {
|
||||
StandardLogLevelChangeHandler.getHandler().removeListener(logListenerId);
|
||||
}
|
||||
|
||||
if (server != null) {
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user