Skip to content

IpcMain.Once(string) is not one time use, is not removing listener #366

@LandinMartensIQ

Description

@LandinMartensIQ
  • Version: 7.30.2
  • Target: .Net Core 3.1

In the C# lib, IpcMain.Once(string) is not removing the listener after.

Steps to Reproduce:

  1. Register a listener using IpcMain.Once(channel_name)
  2. Wait for the event to be fired at least once from javascript
  3. Now fire the event again within javascript
  4. The listener registered at step 1 still fires even though it should have been removed.

I think this is directly related to my other issue I just posted: #365

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions