fixed some gc issues (unfinished)

This commit is contained in:
Kevin Jahns
2016-11-03 16:28:48 +01:00
parent 480dfdfb77
commit 93c23ddc09
4 changed files with 20 additions and 9 deletions

View File

@@ -150,7 +150,10 @@ module.exports = function (Y/* :any */) {
true otherwise
*/
findNextSyncTarget () {
if (this.currentSyncTarget != null || this.isSynced) {
if (this.y == null) {
debugger
}
if (this.currentSyncTarget != null) {
return // "The current sync has not finished!"
}