Skip to content

Remove unused events in nCaptura#73

Merged
grandixximo merged 1 commit into
mainfrom
cursor/remove-unused-events-in-ncaptura-e956
Oct 11, 2025
Merged

Remove unused events in nCaptura#73
grandixximo merged 1 commit into
mainfrom
cursor/remove-unused-events-in-ncaptura-e956

Conversation

@grandixximo

Copy link
Copy Markdown
Owner

Implement error handling for recorder events and suppress a warning for a virtual event to resolve "event never used" warnings.

The ErrorOccurred events in AudioRecorder and StepsRecorder were required by IRecorder and subscribed to, but never invoked. This PR adds try-catch blocks to invoke these events on exceptions, ensuring proper error propagation and consistent user feedback. The LanguageChanged event in LanguageFields is a virtual event intended for derived classes to invoke, so its warning is now suppressed with an explanatory comment.


Open in Cursor Open in Web

Co-authored-by: toniolo.luca <toniolo.luca@outlook.com>
@cursor

cursor Bot commented Oct 11, 2025

Copy link
Copy Markdown

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@grandixximo grandixximo marked this pull request as ready for review October 11, 2025 13:22
@grandixximo grandixximo merged commit 603e455 into main Oct 11, 2025
5 checks passed
@grandixximo grandixximo deleted the cursor/remove-unused-events-in-ncaptura-e956 branch October 11, 2025 13:23
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