Skip to content

Commit

Permalink
useVingKind().dispose() no longer returns this as it causes a bug wit…
Browse files Browse the repository at this point in the history
…h beforeLeaveRoute()
  • Loading branch information
rizen committed Oct 27, 2024
1 parent 46abcae commit 416a08b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/composables/ving/useVingKind.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ class VingKind {

/**
* Frees the memory associated with the list of records
* @returns {object} The current instance of this kind.
* @example
* onBeforeRouteLeave(() => users.dispose());
*/
Expand All @@ -225,7 +224,6 @@ class VingKind {
record.dispose();
}
this.records.splice(0);
return this;
}

/**
Expand Down

0 comments on commit 416a08b

Please sign in to comment.