mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 11:54:07 +00:00
Cleaned up and polished session flow
- Sessions can now be restarted if they error - Terminology is much easier to follow in the plugin - More change cases are handled correctly
This commit is contained in:
parent
a74c11aef5
commit
e6c2f1c15d
2 changed files with 72 additions and 32 deletions
|
|
@ -67,8 +67,11 @@ local function main()
|
|||
end
|
||||
|
||||
Logging.info("Started new session.")
|
||||
currentSession = Session.new()
|
||||
currentSession = Session.new(function()
|
||||
Logging.info("Session terminated.")
|
||||
currentSession = nil
|
||||
end)
|
||||
end)
|
||||
end
|
||||
|
||||
main()
|
||||
main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue