diff --git a/src/utils/Doc.js b/src/utils/Doc.js index 3cbdc48c..e697b55a 100644 --- a/src/utils/Doc.js +++ b/src/utils/Doc.js @@ -27,7 +27,7 @@ export class Doc extends Observable { */ constructor (conf = {}) { super() - this.gc = conf.gc || true + this.gc = typeof conf.gc !== 'undefined' ? conf.gc : true this.clientID = random.uint32() /** * @type {Map>}