2
0
Эх сурвалжийг харах

bugfix: remove discoInitialized promise on teardown

JC Brand 1 сар өмнө
parent
commit
0e65d97a90

+ 1 - 0
src/headless/plugins/disco/index.js

@@ -58,6 +58,7 @@ converse.plugins.add('converse-disco', {
 
         api.listen.on('beforeTearDown', async () => {
             api.promises.add('streamFeaturesAdded');
+            api.promises.add('discoInitialized');
 
             const { stream_features } = _converse.state;
             if (stream_features) {