Skip to content

Conversation

@majklvi
Copy link
Contributor

@majklvi majklvi commented Dec 19, 2023

No description provided.

@janrysavy janrysavy added the comments translation Translation of code comments from Czech to English label Dec 20, 2023
return TRUE;
}
if (found != -1) // nalezen jen handle se shodnym cislem
if (found != -1) // found only handle with matching number
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

matching -> same

::LeaveCriticalSection(&CriticalSection);

BOOL ret = ::FreeLibrary(hLibModule); // obsahuje volani destruktoru globalek DLLka, muze obsahovat message-loopu
BOOL ret = ::FreeLibrary(hLibModule); // contains call to DLL destructor, may contain message-loop
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

// contains calls to the destructors of the DLL's globals, may contain a message-loop

::LeaveCriticalSection(&CriticalSection);

::FreeLibraryAndExitThread(hLibModule, dwExitCode); // obsahuje volani destruktoru globalek DLLka, muze obsahovat message-loopu
::FreeLibraryAndExitThread(hLibModule, dwExitCode); // contains call to DLL destructor, may contain message-loop
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

// contains calls to the destructors of the DLL's globals, may contain a message-loop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comments translation Translation of code comments from Czech to English

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants