Commit 6fa996e4863669d7a6dd929420b068c7d02ae185
fix tracking bug
Signed-off-by: wanderer <mjbecze@gmail.com>wanderer committed on 2/27/2018, 10:45:16 PM
Parent: 5adc543854197a9ca81796bc58a3019504079c48
Files changed
index.js | changed |
package-lock.json | changed |
package.json | changed |
index.js | |||
---|---|---|---|
@@ -42,15 +42,17 @@ | |||
42 | 42 … | * @param {integer} | |
43 | 43 … | * @return {boolean} whether or not the object was deleted | |
44 | 44 … | */ | |
45 | 45 … | delete (ref) { | |
46 … | + delete this._map[ref][this.intRefProp] | ||
46 | 47 … | delete this._map[ref] | |
47 | 48 … | } | |
48 | 49 … | ||
49 | 50 … | /** | |
50 | 51 … | * clears the referance map of a objects | |
51 | 52 … | */ | |
52 | 53 … | clear () { | |
54 … | + this.intRefProp = Symbol('int') | ||
53 | 55 … | this._map = [] | |
54 | 56 … | } | |
55 | 57 … | ||
56 | 58 … | /** |
package-lock.json | ||
---|---|---|
The diff is too large to show. Use a local git client to view these changes. Old file size: 110074 bytes New file size: 109685 bytes |
Built with git-ssb-web