[gnome-code-assistance] [backends/js] Quit main loop on name lost
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-code-assistance] [backends/js] Quit main loop on name lost
- Date: Sun, 11 Jan 2015 14:35:33 +0000 (UTC)
commit 95e6838c93129fb76ffcf3e269a3ec60c80b3574
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Sun Jan 11 15:34:42 2015 +0100
[backends/js] Quit main loop on name lost
.../gnome/codeassistance/transport_dbus.js | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/backends/jscommon/gnome/codeassistance/transport_dbus.js
b/backends/jscommon/gnome/codeassistance/transport_dbus.js
index 72cb2d1..b7ad906 100644
--- a/backends/jscommon/gnome/codeassistance/transport_dbus.js
+++ b/backends/jscommon/gnome/codeassistance/transport_dbus.js
@@ -2,7 +2,6 @@ const GLib = imports.gi.GLib;
const Gio = imports.gi.Gio;
const Lang = imports.lang;
const Types = imports.gnome.codeassistance.types;
-const system = imports.system;
var ServiceIface = '<node> \
<interface name="org.gnome.CodeAssist.v1.Service"> \
@@ -487,7 +486,7 @@ Transport.prototype = {
},
onNameLost: function(conn, name) {
- system.exit(1);
+ this.main.quit();
},
run: function() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]