Bit more of a shuffle round of the shutdown handling

This commit is contained in:
Nicholas O'Leary
2013-10-13 19:14:39 +01:00
parent e60120f7c9
commit eb9b31a21b
4 changed files with 17 additions and 10 deletions

View File

@@ -33,10 +33,10 @@ var RED = {
},
start: server.start,
stop: server.stop,
nodes: nodes,
library: library,
events: events,
stop: nodes.closedown,
events: events
};
RED.__defineGetter__("app", function() { return server.app });