It is currently April 28th, 2024, 12:29 am

[Suggestion] less crashy plugins

Report bugs with the Rainmeter application and suggest features.
User avatar
ghosttie
Posts: 7
Joined: February 27th, 2011, 4:43 am
Location: Atlanta, GA, USA

[Suggestion] less crashy plugins

Post by ghosttie »

Currently if a plugin throws an exception Rainmeter crashes - how about wrapping any interaction with the plugin with an exception handler?
I have a catapult. Give me all your money, or I will fling an enormous rock at your head.
poiru
Developer
Posts: 2872
Joined: April 17th, 2009, 12:18 pm

Re: [Suggestion] less crashy plugins

Post by poiru »

It is not safe to catch exceptions across binaries as the plugin may be compiled with a different compiler (or different compiler settings). You should handle the exceptions within your plugin.