forked from rojo-rbx/rojo
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:
@@ -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()
|
||||
Reference in New Issue
Block a user