matterbridge 2.1.5-dev.6 → 2.1.5-dev.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/matterbridge.js +5 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/dist/matterbridge.js
CHANGED
|
@@ -926,6 +926,9 @@ export class Matterbridge extends EventEmitter {
|
|
|
926
926
|
for (const plugin of this.plugins) {
|
|
927
927
|
await this.removeAllBridgedEndpoints(plugin.name);
|
|
928
928
|
}
|
|
929
|
+
this.log.debug('Waiting for the MessageExchange to finish...');
|
|
930
|
+
await new Promise((resolve) => setTimeout(resolve, 1000));
|
|
931
|
+
this.log.debug('Cleaning up and shutting down...');
|
|
929
932
|
await this.cleanup('unregistered all devices and shutting down...', false);
|
|
930
933
|
}
|
|
931
934
|
async shutdownProcessAndReset() {
|
|
@@ -969,6 +972,8 @@ export class Matterbridge extends EventEmitter {
|
|
|
969
972
|
}
|
|
970
973
|
}
|
|
971
974
|
this.log.notice(`Stopping matter server nodes in ${this.bridgeMode} mode...`);
|
|
975
|
+
this.log.debug('Waiting for the MessageExchange to finish...');
|
|
976
|
+
await new Promise((resolve) => setTimeout(resolve, 1000));
|
|
972
977
|
if (this.bridgeMode === 'bridge') {
|
|
973
978
|
if (this.serverNode) {
|
|
974
979
|
await this.stopServerNode(this.serverNode);
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "matterbridge",
|
|
3
|
-
"version": "2.1.5-dev.
|
|
3
|
+
"version": "2.1.5-dev.7",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "matterbridge",
|
|
9
|
-
"version": "2.1.5-dev.
|
|
9
|
+
"version": "2.1.5-dev.7",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@matter/main": "0.12.3",
|