Since I can’t see your code and see where you’re calling the function, Prefs.clear(), I can only guess you’re maybe calling it in a dispose() function after you’ve called, Prefs.dispose().

Please, don’t post your code here, but instead, email me your code where you’re calling the function, Prefs.clear(): support ‘@’ andrioussolutions.com

Freelance Developer

Freelance Developer