mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
implement destructors
This commit is contained in:
parent
ee890b9859
commit
a8df7e1ebe
12 changed files with 92 additions and 9 deletions
|
|
@ -61,6 +61,17 @@ Browser::Browser(
|
|||
);
|
||||
}
|
||||
|
||||
Browser::~Browser()
|
||||
{
|
||||
destroy();
|
||||
|
||||
delete header;
|
||||
header = nullptr;
|
||||
|
||||
delete main;
|
||||
main = nullptr;
|
||||
}
|
||||
|
||||
void Browser::mainTabAppend()
|
||||
{
|
||||
main->tabAppend();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue