Skip to content

Commit

Permalink
fix signals leaking memory
Browse files Browse the repository at this point in the history
  • Loading branch information
ealmloff committed Mar 4, 2024
1 parent 9ae3d14 commit 8322b50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/signals/src/copy_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ fn current_owner<S: Storage<T>, T>() -> Owner<S> {
}

fn owner_in_scope<S: Storage<T>, T>(scope: ScopeId) -> Owner<S> {
match consume_context_from_scope(scope) {
match scope.has_context() {
Some(rt) => rt,
None => {
let owner = S::owner();
Expand Down

0 comments on commit 8322b50

Please sign in to comment.