wzbmax3210 opened a new issue #14538:
URL: https://github.com/apache/echarts/issues/14538


   ### Version
   5.0.2
   
   ### Steps to reproduce
   vue   element
   
用的是官网这个[实例](https://echarts.apache.org/examples/zh/editor.html?c=candlestick-large)
   在mounted做了大概如下处理
   ```javascript
   let productDetailCurrentPnl = 
this.$echarts.init(document.getElementById('currentPnl'))
   
   productDetailCurrentPnl.setOption(currentOptions)
   this.$once('hook:beforeDestroy', function() {
     console.log(productDetailCurrentPnl.isDisposed())
     productDetailCurrentPnl.dispose()
     console.log(productDetailCurrentPnl.isDisposed())
     productDetailCurrentPnl = null
     currentOptions = null
   })
   ```
   在切换页签后触发了这个钩子有打印信息但是内存没有下降
   
   ### What is expected?
   内存下降
   
   ### What is actually happening?
   内存不变
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to