MagicMirror² v2.14.0 is available! For more information about this release, check out this topic.
Suspend hidden modules [done]
-
It would be create if hiding a module would fire a
suspend method
that could be used to stop timers and other tasks. You could then later restart them with aresume method
.In the
module.js
this could look like the following:suspend: function() { //stop timers }, resume: function() { //restart timers }, ...
This way we could save resources if multiple users use the mirror with different sets of modules.
-
Let me look into this …
-
Here you go: https://github.com/MichMich/MagicMirror/commit/c4f3009bb5ee60d57cbebdcd536e2bf488091a8c
-
Great thanks!