mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
ADD: Print message on console when DC does not run because another instance is already running.
This commit is contained in:
parent
b482614b96
commit
d3fbe7ec41
1 changed files with 6 additions and 1 deletions
|
|
@ -62,7 +62,8 @@ begin
|
|||
LoadPaths; // must be first
|
||||
Application.ShowMainForm:= False;
|
||||
Application.CreateForm(TfrmHackForm, frmHackForm);
|
||||
if InitGlobs and IsInstanceAllowed then
|
||||
if InitGlobs then
|
||||
if IsInstanceAllowed then
|
||||
begin
|
||||
InitPasswordStore;
|
||||
LoadPixMapManager;
|
||||
|
|
@ -80,5 +81,9 @@ begin
|
|||
Application.Run;
|
||||
|
||||
uKeyboard.CleanupKeyboard;
|
||||
end
|
||||
else
|
||||
begin
|
||||
DebugLn('Another instance of DC is already running. Exiting.');
|
||||
end;
|
||||
end.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue