mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 12:12:20 +00:00
Added default implementation of stop() function.
This commit is contained in:
parent
f646360af6
commit
f4c6f42c38
11
modules/node_modules/node_helper/index.js
generated
vendored
11
modules/node_modules/node_helper/index.js
generated
vendored
@ -23,6 +23,17 @@ NodeHelper = Class.extend({
|
|||||||
console.log("Starting module helper: " + this.name);
|
console.log("Starting module helper: " + this.name);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/* stop()
|
||||||
|
* Called when the MagicMirror server receives a `SIGINT`
|
||||||
|
* Close any open connections, stop any sub-processes and
|
||||||
|
* gracefully exit the module.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
stop: function() {
|
||||||
|
console.log("Stopping module helper: " + this.name);
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
/* socketNotificationReceived(notification, payload)
|
/* socketNotificationReceived(notification, payload)
|
||||||
* This method is called when a socket notification arrives.
|
* This method is called when a socket notification arrives.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user