Changeset 287


Ignore:
Timestamp:
Feb 23, 2021, 7:46:30 PM (4 years ago)
Author:
chronos
Message:
  • Fixed: Memory leak during playing sounds in repeated call of TAsyncProcess Execute method.
Location:
trunk/Packages/CevoComponents
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Packages/CevoComponents/CevoComponents.lpk

    r206 r287  
    3737    <Description Value="C-evo components"/>
    3838    <Version Major="1" Minor="2"/>
    39     <Files Count="14">
     39    <Files Count="15">
    4040      <Item1>
    4141        <Filename Value="Area.pas"/>
     
    102102        <UnitName Value="UPixelPointer"/>
    103103      </Item14>
     104      <Item15>
     105        <Filename Value="AsyncProcess2.pas"/>
     106        <UnitName Value="AsyncProcess2"/>
     107      </Item15>
    104108    </Files>
    105109    <RequiredPkgs Count="2">
  • trunk/Packages/CevoComponents/CevoComponents.pas

    r206 r287  
    1010uses
    1111  Area, ButtonA, ButtonB, ButtonC, ButtonN, EOTButton, ButtonBase, DrawDlg,
    12   Sound, BaseWin, UPixelPointer, LazarusPackageIntf;
     12  Sound, BaseWin, UPixelPointer, AsyncProcess2, LazarusPackageIntf;
    1313
    1414implementation
  • trunk/Packages/CevoComponents/Sound.pas

    r285 r287  
    77  StringTables, Directories, LCLType
    88  {$IFDEF WINDOWS}, MMSystem, Windows{$ENDIF}
    9   {$IFDEF LINUX}, Process, AsyncProcess{$ENDIF};
     9  {$IFDEF LINUX}, Process, AsyncProcess2{$ENDIF};
    1010
    1111type
Note: See TracChangeset for help on using the changeset viewer.