cleanup hash map on tab page remove

This commit is contained in:
yggverse 2024-09-24 21:29:05 +03:00
parent f407117470
commit 1b5af238b8
2 changed files with 29 additions and 16 deletions

View file

@ -1,12 +1,12 @@
mod tab;
use gtk::{Box, Orientation};
use tab::Tab;
use gtk::prelude::BoxExt;
use gtk::{prelude::BoxExt, Box, Orientation};
use std::sync::Arc;
pub struct Main {
tab: Tab,
tab: Arc<Tab>,
widget: Box,
}