@quenty/binder 4.4.0 → 4.5.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 +11 -0
- package/LICENSE.md +1 -1
- package/package.json +7 -7
- package/src/Shared/Binder.lua +4 -4
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
|
+
# [4.5.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/binder@4.4.0...@quenty/binder@4.5.0) (2021-12-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Binder was not deconstructing correctly on cleanup ([b6cd547](https://github.com/Quenty/NevermoreEngine/commit/b6cd54746457afe180ddda2f4d41731b29c144a5))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [4.4.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/binder@4.3.1...@quenty/binder@4.4.0) (2021-12-14)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @quenty/binder
|
package/LICENSE.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/binder",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.0",
|
|
4
4
|
"description": "Utility object to Bind a class to Roblox object, and associated helper methods",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -26,17 +26,17 @@
|
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@quenty/baseobject": "^3.2.0",
|
|
29
|
-
"@quenty/brio": "^3.
|
|
30
|
-
"@quenty/instanceutils": "^3.
|
|
31
|
-
"@quenty/linkutils": "^3.
|
|
29
|
+
"@quenty/brio": "^3.5.0",
|
|
30
|
+
"@quenty/instanceutils": "^3.5.0",
|
|
31
|
+
"@quenty/linkutils": "^3.5.0",
|
|
32
32
|
"@quenty/loader": "^3.1.1",
|
|
33
33
|
"@quenty/maid": "^2.0.1",
|
|
34
|
-
"@quenty/promise": "^3.
|
|
34
|
+
"@quenty/promise": "^3.3.0",
|
|
35
35
|
"@quenty/signal": "^2.0.0",
|
|
36
|
-
"@quenty/valueobject": "^3.
|
|
36
|
+
"@quenty/valueobject": "^3.5.0"
|
|
37
37
|
},
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "6eb398e9fb81191f0815885f807ab0cb3bb9bad1"
|
|
42
42
|
}
|
package/src/Shared/Binder.lua
CHANGED
|
@@ -357,12 +357,12 @@ end
|
|
|
357
357
|
|
|
358
358
|
--- Cleans up all bound classes, and disconnects all events
|
|
359
359
|
function Binder:Destroy()
|
|
360
|
-
local
|
|
360
|
+
local inst, class = next(self._instToClass)
|
|
361
361
|
while class ~= nil do
|
|
362
|
-
self:_remove(
|
|
363
|
-
assert(self._instToClass[
|
|
362
|
+
self:_remove(inst)
|
|
363
|
+
assert(self._instToClass[inst] == nil, "Failed to remove")
|
|
364
364
|
|
|
365
|
-
|
|
365
|
+
inst, class = next(self._instToClass)
|
|
366
366
|
end
|
|
367
367
|
|
|
368
368
|
-- Disconnect events
|