Skip to content

Commit

Permalink
remove debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasstrehle committed Jun 26, 2024
1 parent fb48b19 commit 7cd90b4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions runtime/pointers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2604,7 +2604,7 @@ export class Pointer<T = any> extends Ref<T> {
const value = alreadyProxy ? val : this.addObjProxy((val instanceof UnresolvedValue) ? val[DX_VALUE] : val);
// add $, $$
if (!alreadyProxy && typeof value !== "symbol") this.add$Properties(value);

this.#loaded = true; // this.value exists (must be set to true before the super.value getter is called)

if (val instanceof UnresolvedValue) {
Expand Down Expand Up @@ -3241,8 +3241,7 @@ export class Pointer<T = any> extends Ref<T> {
this.#registeredForGC = true;
Pointer.garbage_registry.register(<object><unknown>(this.is_js_primitive ? this : this.current_val), mockPointer, this)
}
catch (e){
console.log(e)
catch {
logger.error("couldn't register for garbage collection: ", this.idString())
}
}
Expand Down

0 comments on commit 7cd90b4

Please sign in to comment.