Skip to content

Commit

Permalink
Added comment about why we import join_reactor while not using it
Browse files Browse the repository at this point in the history
  • Loading branch information
danpascu committed Dec 17, 2015
1 parent 477e153 commit 8f5e854
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sipsimple/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ def stop(self):
self._shutdown_subsystems()

def _run_reactor(self):
from eventlib.twistedutil import join_reactor
from eventlib.twistedutil import join_reactor; del join_reactor # imported for the side effect of making the twisted reactor green

notification_center = NotificationCenter()

notification_center.post_notification('SIPApplicationWillStart', sender=self)
Expand Down

0 comments on commit 8f5e854

Please sign in to comment.