mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
Make "Always" confirmation behavior setting work by handling it for ongoing sync patches
- Add "Always" option to confirmationBehavior setting - Route WebSocket patches through the confirmation callback - Fix UI not transitioning back to Connected after confirming ongoing patches - Fix DomLabel Flipper motor cleanup on unmount to prevent errors
This commit is contained in:
parent
a7f36fab5e
commit
a05acf8d35
7 changed files with 638 additions and 90 deletions
|
|
@ -113,6 +113,8 @@ end
|
|||
|
||||
function DomLabel:willUnmount()
|
||||
self.isMounted = false
|
||||
-- Stop the motor to prevent onStep callbacks after unmount
|
||||
self.motor:stop()
|
||||
if self.motorStepConnection then
|
||||
self.motorStepConnection:disconnect()
|
||||
self.motorStepConnection = nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue