Skip to content

Commit 88b90d1

Browse files
committed
Update to v1.4.1
1 parent 67057e9 commit 88b90d1

5 files changed

Lines changed: 7 additions & 5 deletions

File tree

docs/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ This test highlights the fundamental flaw in traditional Zone-Centric libraries.
8989
Add the following to your wally.toml file:
9090

9191
```toml
92-
ldgerrits/quickzone@^1.4.0
92+
ldgerrits/quickzone@^1.4.1
9393
```
9494

9595
### NPM

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rbxts/quickzone",
3-
"version": "1.4.0",
3+
"version": "1.4.1",
44
"description": "A high-performance, physics-free spatial query library for Roblox. Maintain 60 FPS with 1M+ zones.",
55
"main": "src/init.lua",
66
"keywords": [

src/Classes/Zone.luau

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1195,7 +1195,9 @@ function Zone.destroy(self: Types.InternalZone): ()
11951195
end
11961196

11971197
if self.onDestroyCallbacks then
1198-
for _, callback in self.onDestroyCallbacks do
1198+
-- The table must be cloned to avoid iterator shifts
1199+
local onDestroyCallbacks = table.clone(self.onDestroyCallbacks)
1200+
for _, callback in onDestroyCallbacks do
11991201
task.spawn(callback)
12001202
end
12011203
table.clear(self.onDestroyCallbacks)

src/init.luau

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--!strict
2-
--v1.4.0 • LDGerrits
2+
--v1.4.1 • LDGerrits
33
--[=[
44
@class QuickZone
55

wally.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "ldgerrits/quickzone"
33
description = "A high-performance, physics-free spatial query library for Roblox. Maintain 60 FPS with 1M+ zones."
4-
version = "1.4.0"
4+
version = "1.4.1"
55
registry = "https://github.com/UpliftGames/wally-index"
66
realm = "shared"
77
license = "MIT"

0 commit comments

Comments
 (0)