# HG changeset patch # User Goffi # Date 1542700489 -3600 # Node ID 4426c328eb8350df10347ef4aa49495666db6e84 # Parent 28789926852af388b6389e2ee66544b80bd92732 core: fixed reactor crash by installing reactor only in makeService diff -r 28789926852a -r 4426c328eb83 twisted/plugins/libervia_server.py --- a/twisted/plugins/libervia_server.py Wed Oct 03 21:01:42 2018 +0200 +++ b/twisted/plugins/libervia_server.py Tue Nov 20 08:54:49 2018 +0100 @@ -19,8 +19,6 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -from twisted.internet import gireactor -gireactor.install() from twisted.internet import defer if defer.Deferred.debug: @@ -246,6 +244,8 @@ options = Options def makeService(self, options): + from twisted.internet import gireactor + gireactor.install() for opt in OPT_PARAMETERS_BOTH: # FIXME: that's a ugly way to get unicode in Libervia # from command line or sat.conf