diff --git a/public/call.html b/public/call.html
index b295b76..e9bf4d2 100644
--- a/public/call.html
+++ b/public/call.html
@@ -86,15 +86,31 @@
-
@@ -420,8 +436,11 @@
// reload calls list
await this.updateCallsList();
+ // disconnect websocket
+ this.ws.close();
+
} catch(e) {
- alert("failed to hangup call");
+ // ignore error hanging up call
}
},