Skip to content

Commit

Permalink
shutdown fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pefoley2 committed Jan 9, 2017
1 parent 155fa7f commit 47f791c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slack_bridge/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@

def shutdown(loop, bridge):
event.wait()
bridge.client.irc.shutdown()
loop.stop()
while loop.is_running():
time.sleep(0.1)
loop.close()
bridge.client.irc.shutdown()


def init(directory: str):
Expand Down

0 comments on commit 47f791c

Please sign in to comment.