mirror of
https://github.com/vale981/tdesktop
synced 2025-03-05 17:51:41 -05:00
Fix possible HistoryHider bug on old OS X.
This commit is contained in:
parent
55d5f6e03d
commit
2835aa446f
1 changed files with 1 additions and 0 deletions
|
@ -809,6 +809,7 @@ void MainWidget::hiderLayer(base::unique_qptr<Window::HistoryHider> hider) {
|
|||
_hider->hidden(
|
||||
) | rpl::start_with_next([=, instance = _hider.get()] {
|
||||
clearHider(instance);
|
||||
instance->hide();
|
||||
instance->deleteLater();
|
||||
}, _hider->lifetime());
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue