Cleanup event object

This commit is contained in:
Dmitry Kuzmenko 2019-06-04 15:33:45 +03:00
parent 2bf55be430
commit 6dad18f2fb
No known key found for this signature in database
GPG key ID: 4C7CAD30C95651DA

View file

@ -2625,6 +2625,7 @@ class Minion(MinionBase):
opts=self.opts,
listen=False)
event.fire_event(beacons, '__beacons_return')
event.destroy()
new_periodic_callbacks['beacons'] = tornado.ioloop.PeriodicCallback(
handle_beacons, loop_interval * 1000)