Skip to content

Commit 9c3ade8

Browse files
committed
fix: wrong replacement
1 parent 966ddfa commit 9c3ade8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/db.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ export class Db {
711711
* @deprecated This function is deprecated and will be removed in the next major version.
712712
*/
713713
unref(): void {
714-
this.unref();
714+
getTopology(this).unref();
715715
}
716716

717717
/**

0 commit comments

Comments
 (0)