Intense robustness pass

This commit is contained in:
Lucien Greathouse
2018-05-21 12:48:25 -07:00
parent 6fbe1daf8e
commit 8b17d3b7d9
3 changed files with 57 additions and 37 deletions

View File

@@ -66,7 +66,9 @@ end
function Plugin:restart()
warn("Rojo: The server has changed since the last request, reloading plugin...")
self._reconciler:clear()
self._reconciler:destruct()
self._reconciler = Reconciler.new()
self._api = nil
self._polling = false
self._syncInProgress = false