mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 20:21:38 +00:00
Make plugin connection much more robust, with better errors
This commit is contained in:
parent
c2f7e268ff
commit
52eea667a7
7 changed files with 170 additions and 86 deletions
|
|
@ -71,8 +71,8 @@ function RouteMap:clear()
|
|||
self._map = {}
|
||||
self._reverseMap = {}
|
||||
|
||||
for object in pairs(self._connectionsByRbx) do
|
||||
object:Disconnect()
|
||||
for _, connection in pairs(self._connectionsByRbx) do
|
||||
connection:Disconnect()
|
||||
end
|
||||
|
||||
self._connectionsByRbx = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue