Recent

Author Topic: UniqueInstance: made a fix to prevent AV on app exit  (Read 3198 times)

AlexTP

  • Hero Member
  • *****
  • Posts: 2401
    • UVviewsoft
UniqueInstance: made a fix to prevent AV on app exit
« on: July 16, 2021, 10:39:42 pm »
https://github.com/Alexey-T/CudaText/commit/87e2bffe2c4d49dbb0ea3e1352f81f09caa0b81f

This is a patch in CudaText's copy of UniqInstance. You see that I moved Timer object to class fields, and I disable this timer in Destroy.

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: UniqueInstance: made a fix to prevent AV on app exit
« Reply #1 on: July 17, 2021, 03:11:54 pm »
Could you please provide UniqInstance patches to the author so that we can all benefit if they get accepted?
https://github.com/blikblum/luipack/
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

AlexTP

  • Hero Member
  • *****
  • Posts: 2401
    • UVviewsoft

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: UniqueInstance: made a fix to prevent AV on app exit
« Reply #3 on: July 17, 2021, 06:05:52 pm »
Thank you!
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

 

TinyPortal © 2005-2018