fix signals leaking memory
This commit is contained in:
1 parent
9ae3d14e67
commit
8322b508a7
1 file changed
+1
-1
@@ -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> {
|
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,
|
Some(rt) => rt,
|
||||||
None => {
|
None => {
|
||||||
let owner = S::owner();
|
let owner = S::owner();
|
||||||
|
|||||||
Reference in new issue
Block a user