in reply to win32::daemon memory leak

I haven't tried it yet but I did notice something that isn't quite right.

if (Win32::Daemon::DeleteService("LHY-SMS-Transform")){

I think you forgot to update this line when you converted it to a memory leak service.

Replies are listed 'Best First'.
Re^2: win32::daemon memory leak
by tbsky (Novice) on Dec 23, 2015 at 07:57 UTC
    you are right. I forgot to update the line. I only test install the service and running it for leaking. I didn't test remove the service. I will update the code.