diff --git a/src/types/object.js b/src/types/object.js index 0c912a3..3baee29 100644 --- a/src/types/object.js +++ b/src/types/object.js @@ -109,7 +109,7 @@ export function createObject(info, gType) { super(props); if (gType == GType.OBJECT) { - if (_HydratingObject !== null) { + if (_HydratingObject === null) { const gType = Reflect.getOwnMetadata("gi:gtype", this.constructor); if (!gType) {