© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
64 replies
lukkasz323

✅ Calling base of subscribed method results in a StackOverflowException

I'm trying to override an
OnExiting
OnExiting
method, however trying to call
base.OnExiting()
base.OnExiting()
within that override results in a
StackOverflowException
StackOverflowException
.

Why is that happening and how can I preserve both base and overriden functionality?
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Next page

Similar Threads

✅ System.StackOverflowException
C#CC# / help
3y ago
Calling methods from a base class
C#CC# / help
3y ago
✅ Method calling help
C#CC# / help
3y ago
❔ Calling async method
C#CC# / help
4y ago