mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: Forgotten file to previous commit.
This commit is contained in:
parent
dc49c98bf9
commit
a78ead7338
1 changed files with 2 additions and 2 deletions
|
|
@ -4413,9 +4413,9 @@ procedure TfrmMain.CloseNotebook(ANotebook: TFileViewNotebook);
|
|||
var
|
||||
i: Integer;
|
||||
begin
|
||||
// First stop all work in threads.
|
||||
// First stop all workers.
|
||||
for i := 0 to ANotebook.PageCount - 1 do
|
||||
ANotebook.View[i].StopBackgroundWork;
|
||||
ANotebook.View[i].StopWorkers;
|
||||
// Then remove file views.
|
||||
ANotebook.RemoveAllPages;
|
||||
end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue