Python: abort() on ctrl+c when .get() pending
awelzel opened this issue · comments
Calling .get()
on a Subscriber and interrupting it with Ctrl+C
causes an abort. This should likely raise KeybordInterrupt or so, but not end up in abort()
and take down everything.
$ PYTHONPATH=.:/opt/zeek-dev-prod/lib/zeek/python ipython3
In [1]: import broker
In [2]: ep = broker.Endpoint()
In [3]: ss = ep.make_subscriber("/topic/test")
In [4]: ss.get()
^Cterminate called without an active exception
Aborted (core dumped)