mirror of
https://github.com/misskey-dev/misskey
synced 2024-12-12 05:39:00 +09:00
[Client] Fix bug
This commit is contained in:
parent
372db65604
commit
ac8817ef34
@ -140,6 +140,10 @@ export default Vue.extend({
|
|||||||
this.render();
|
this.render();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
beforeDestroy() {
|
||||||
|
this.chartInstance.destroy();
|
||||||
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
setSrc(src) {
|
setSrc(src) {
|
||||||
this.src = src;
|
this.src = src;
|
||||||
|
@ -117,6 +117,9 @@ export default Vue.extend({
|
|||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
this.connection.off('stats', this.onStats);
|
this.connection.off('stats', this.onStats);
|
||||||
this.connection.off('statsLog', this.onStatsLog);
|
this.connection.off('statsLog', this.onStatsLog);
|
||||||
|
|
||||||
|
this.cpuChart.destroy();
|
||||||
|
this.memChart.destroy();
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
Loading…
Reference in New Issue
Block a user