wip: a few things left, slme cleanup
This commit is contained in:
1 parent
f33510b13f
commit
289d2f2518
5 files changed
+30
-66
No files matched your search
@@ -45,7 +45,6 @@ impl ScopeArena {
|
||||
parent_scope: Option<*mut ScopeState>,
|
||||
height: u32,
|
||||
subtree: u32,
|
||||
sender: UnboundedSender<SchedulerMsg>,
|
||||
) -> ScopeId {
|
||||
if let Some(id) = self.free_scopes.pop() {
|
||||
// have already called drop on it - the slot is still chillin tho
|
||||
@@ -59,7 +58,7 @@ impl ScopeArena {
|
||||
let vcomp = unsafe { std::mem::transmute(vcomp as *const VComponent) };
|
||||
|
||||
let new_scope = ScopeState {
|
||||
sender,
|
||||
sender: self.sender.clone(),
|
||||
parent_scope,
|
||||
our_arena_idx: id,
|
||||
height,
|
||||
|
||||
Reference in new issue
Block a user