summaryrefslogtreecommitdiffstats
path: root/base/common/python/_static
diff options
context:
space:
mode:
authorFraser Tweedale <ftweedal@redhat.com>2017-02-20 11:08:50 +1000
committerFraser Tweedale <ftweedal@redhat.com>2017-02-20 12:05:40 +1000
commitaa9bca02d0469e16a93812564bf44369c30002da (patch)
tree9ced2283365e83ad7a587fd22e3ea101a4cb0043 /base/common/python/_static
parent3ed2124500441d2ce0154d730188f573ec80fce8 (diff)
downloadpki-aa9bca02d0469e16a93812564bf44369c30002da.tar.gz
pki-aa9bca02d0469e16a93812564bf44369c30002da.tar.xz
pki-aa9bca02d0469e16a93812564bf44369c30002da.zip
Fix NPE in server shutdown when startup failed
If server startup fails, the shutdown() routine tries to shut down the logger instance, which may not have been initialised. This raises a NullPointerException which can mask the original exception. Only attempt to shut down the logger instance if it is non-null.
Diffstat (limited to 'base/common/python/_static')
0 files changed, 0 insertions, 0 deletions