pi-web 0.7.0 → 0.7.2

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.
@@ -384,6 +384,10 @@ wss.on('connection', (ws) => {
384
384
  socketBindings.set(ws, managed);
385
385
  return;
386
386
  }
387
+ if (msg.type === 'detach_session') {
388
+ detachSocket(ws);
389
+ return;
390
+ }
387
391
  if (msg.type === 'rpc_command') {
388
392
  const managed = socketBindings.get(ws);
389
393
  if (!managed) {