Skip to content

Conversation

@softworkz
Copy link
Contributor

Had missed that in my previous PR

Copilot AI review requested due to automatic review settings November 10, 2025 20:30
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances thread safety in the SocketIOFacade class by ensuring that calls to Off() within the Once methods use proper locking. Previously, these methods directly called _socket.Off(eventName) without locking, which was inconsistent with the thread-safe wrapper method Off() that uses _lockObj.

  • Changed Once methods to call this.Off(eventName) instead of _socket.Off(eventName) to ensure proper locking

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Collaborator

@FlorianRappl FlorianRappl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks!

@FlorianRappl FlorianRappl merged commit 14bf7fd into ElectronNET:develop Nov 10, 2025
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants