ipcRenderer.RemoveListener removes all the listeners of the same class on Electron

后端 未结 0 1920
离开以前
离开以前 2021-02-06 06:01

On Electron, I make a simple class which assign a listener and remove it after it is called.

class Foo {
   void Say(text: string) {
       // The text served to          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题