mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
don't share the cache and observers arrays between multiple instances.
bug 296746, r=shaver
This commit is contained in:
parent
74e5a21386
commit
767ea18b82
@ -208,16 +208,16 @@ function getCalendarManager()
|
||||
|
||||
function calStorageCalendar() {
|
||||
this.wrappedJSObject = this;
|
||||
this.mObservers = new Array();
|
||||
this.mItemCache = new Array();
|
||||
}
|
||||
|
||||
calStorageCalendar.prototype = {
|
||||
//
|
||||
// private members
|
||||
//
|
||||
mObservers: Array(),
|
||||
mDB: null,
|
||||
mDBTwo: null,
|
||||
mItemCache: Array(),
|
||||
mCalId: 0,
|
||||
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user