Skip to content

Commit

Permalink
Fix the LockContention messagebox not respecting NoMessageBoxes defin…
Browse files Browse the repository at this point in the history
…e (thanks to Fr0sT-Brutal)
  • Loading branch information
Pierre le Riche committed Aug 12, 2019
1 parent cd1163d commit f91855a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions FastMM4.pas
Original file line number Diff line number Diff line change
Expand Up @@ -12144,7 +12144,9 @@ procedure ReportLockContention;
LMsgPtr := AppendStringToBuffer(CRLF, LMsgPtr, Length(CRLF));
end;
AppendStringToModuleName(LockingReportTitle, LMessageTitleBuffer);
{$ifndef NoMessageBoxes}
ShowMessageBox(LErrorMessage, LMessageTitleBuffer);
{$endif}
for i := 4 to 10 do
begin
if i > mergedCount then
Expand Down

0 comments on commit f91855a

Please sign in to comment.