details: https://code.openbravo.com/erp/devel/pi/rev/f8fcc834d0c1
changeset: 22706:f8fcc834d0c1
user: Asier Lostalé <asier.lostale <at> openbravo.com>
date: Thu Mar 13 18:06:12 2014 +0100
summary: fixed bug 25986: notes datasources are leaked
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
| 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diffs (16 lines):
diff -r 15994dc74cd8 -r f8fcc834d0c1
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
Thu Mar 13 15:32:33 2014 +0100
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
Thu Mar 13 18:06:12 2014 +0100
@@ -281,6 +281,12 @@
this.dataSource.destroy();
this.dataSource = null;
}
+
+ // destroy notes datasource
+ if (this.notesDataSource) {
+ this.notesDataSource.destroy();
+ this.notesDataSource = null;
+ }
return this.Super('destroy', arguments);
},
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits