Defect #749
Error when disposing busy plugin in a web-client
Start date:
10/31/2013
Due date:
% Done:
0%
Estimated time:
Browser (if web client):
chrome
Description
There is a a little bug when disposing de plugin within a web-client. The should be checked if the provider is initialized.
Regards,
Danny Richardson
Fix/Patch:
Index: src/com/servoyguy/plugins/busy/BusyScriptObject.java
===================================================================
--- src/com/servoyguy/plugins/busy/BusyScriptObject.java (revision 51)
+++ src/com/servoyguy/plugins/busy/BusyScriptObject.java (working copy)@ -215,9 +215,10
@
}
public void dispose() {
- provider.dispose();
+ if (provider != null) {
+ provider.dispose();
+ }
provider = null;
- //callBackFunction = null;
application = null;
}
History
Updated by Patrick Talbot over 11 years ago
- Status changed from New to In Progress
Ah! Yes, I know about this one. I forgot to add the null check.
Thanks for the patch, will integrate asap.