How to fix it. It look like this page is dedicated to that kind of error.
Your function is calling itself forever.
You need to make it stop calling itself.
In this case, you need to Invoke
it to the UI thread instead of simply calling itself again:
Invoke(new Action(UpdateAdvert));
It appears that InvokeRequired
is true
. This causes unbounded recursion. There's nothing that will change it to false. Perhaps invoking would fix it?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With