@quenty/observablecollection 2.1.0 → 2.1.1-canary.256.3cf0683.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.1.1-canary.256.3cf0683.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/observablecollection@2.1.0...@quenty/observablecollection@2.1.1-canary.256.3cf0683.0) (2022-03-27)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Do not error if observable set is already cleaned up, but we're removing ([934d3ac](https://github.com/Quenty/NevermoreEngine/commit/934d3ac0dc97e8a7ee65473109d26446b5ce77ed))
12
+
13
+
14
+
15
+
16
+
6
17
  # [2.1.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/observablecollection@2.0.0...@quenty/observablecollection@2.1.0) (2022-03-10)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/observablecollection
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/observablecollection",
3
- "version": "2.1.0",
3
+ "version": "2.1.1-canary.256.3cf0683.0",
4
4
  "description": "An observable set",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -27,16 +27,16 @@
27
27
  "Quenty"
28
28
  ],
29
29
  "dependencies": {
30
- "@quenty/brio": "^5.1.0",
31
- "@quenty/loader": "^4.0.0",
32
- "@quenty/maid": "^2.2.0",
33
- "@quenty/promise": "^4.1.0",
34
- "@quenty/rx": "^4.1.0",
35
- "@quenty/signal": "^2.1.0",
36
- "@quenty/valuebaseutils": "^4.1.0"
30
+ "@quenty/brio": "5.1.1-canary.256.3cf0683.0",
31
+ "@quenty/loader": "4.0.1-canary.256.3cf0683.0",
32
+ "@quenty/maid": "2.2.1-canary.256.3cf0683.0",
33
+ "@quenty/promise": "4.1.1-canary.256.3cf0683.0",
34
+ "@quenty/rx": "4.1.1-canary.256.3cf0683.0",
35
+ "@quenty/signal": "2.1.1-canary.256.3cf0683.0",
36
+ "@quenty/valuebaseutils": "4.1.1-canary.256.3cf0683.0"
37
37
  },
38
38
  "publishConfig": {
39
39
  "access": "public"
40
40
  },
41
- "gitHead": "0797de955876b050fb24875de0423453e268b2ce"
41
+ "gitHead": "3cf06830affe1e6a6ca452a87969520cd941ccaa"
42
42
  }
@@ -156,7 +156,10 @@ function ObservableSet:Remove(item)
156
156
  if self._set[item] then
157
157
  self._countValue.Value = self._countValue.Value - 1
158
158
  self._set[item] = nil
159
- self.ItemRemoved:Fire(item)
159
+
160
+ if self.Destroy then
161
+ self.ItemRemoved:Fire(item)
162
+ end
160
163
  end
161
164
  end
162
165