As outlined in this documentation, bokeh client sessions need to be closed manually unless they are opened using a context manager (i.e. using with open, which we aren't). Failing to close the session relies on python to figure out when to kill the process, which is both unlikely to happen and unreliable.
As outlined in this documentation, bokeh client sessions need to be closed manually unless they are opened using a context manager (i.e. using
with open
, which we aren't). Failing to close the session relies on python to figure out when to kill the process, which is both unlikely to happen and unreliable.