1
0
mirror of https://github.com/amir20/dozzle.git synced 2026-01-03 03:27:29 +01:00

Adds close

This commit is contained in:
Amir Raminfar
2018-11-13 16:38:07 -08:00
parent d7cfe64273
commit 5ee895357d

View File

@@ -1,5 +1,5 @@
<template lang="html">
<ul ref="events" class="events"></ul>
<ul ref="events" class="events"></ul>
</template>
<script>
@@ -45,6 +45,10 @@ export default {
this.$nextTick(() => item.scrollIntoView());
};
},
beforeDestroy() {
ws.close();
ws = null;
}
};
</script>