Skip to content
Commit 25517255 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Revise ownership of terminal instances

Currently the Terminal objects are parented to the base splitter

When they are destroyed the session reacts to that and removes them from its internal map

This is rather complex and causes a crash when closing the app

Instead have the session own the terminals (and manage them using unique_ptr)

This is complicated by the fact that the part instance deletes itself when the terminal is exited by the user

In that case notify the session that the terminal wants to be deleted and clean up accordingly

BUG: 456917
parent ff5735be
Pipeline #221318 passed with stage
in 44 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment