File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 7
7
]]
8
8
local __DEV__ = _G .__DEV__
9
9
10
+ local _ , FFlagRoduxRemoveConnectTraceback = xpcall (function ()
11
+ return game :DefineFastFlag (" RoduxRemoveConnectTraceback" , false )
12
+ end , function ()
13
+ return true
14
+ end )
15
+
10
16
local function immutableAppend (list , ...)
11
17
local new = {}
12
18
local len = # list
@@ -80,7 +86,7 @@ function Signal:connect(callback)
80
86
disconnectTraceback = nil ,
81
87
}
82
88
83
- if __DEV__ then
89
+ if not FFlagRoduxRemoveConnectTraceback or __DEV__ then
84
90
listener .connectTraceback = debug.traceback ()
85
91
end
86
92
@@ -100,7 +106,7 @@ function Signal:connect(callback)
100
106
error (" You may not unsubscribe from a store listener while the reducer is executing." )
101
107
end
102
108
103
- if __DEV__ then
109
+ if not FFlagRoduxRemoveConnectTraceback or __DEV__ then
104
110
listener .disconnectTraceback = debug.traceback ()
105
111
end
106
112
You can’t perform that action at this time.
0 commit comments