Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runa-orbiter/shell: fix panic when destroying subsurface
When subsurface role is deactivated, it might still be referenced by a parent surface state. Therefore we need to keep track of that parent state, _and_ we can't free this subsurface's surface state immediately. Both of these are achieved by not clearing surface's current `role_state` in `deactivate_role`. Signed-off-by: Yuxuan Shui <[email protected]>
- Loading branch information