﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
6786	mythtvosd/udpnotify stops working after watching the first show	doug@…	stuartm	"Hi All,

UDPnotify seems to stop working after watching the first show.  The steps to reproduce are:

1. start mythfrontend
2. watch a program
3. send a udp message (e.g. mythtvosd --template=cid) to confirm it works
4. exit the show (not mythfrontend)
5. start the show again
6. attempt to send a udp message again  (this step fails)

I think the issue is that udpnotify->deleteLater() is never called when tv_play.cpp shuts down.  This means that the socket doesn't get closed so future udp messages get lost.  Attached is a patch to make sure that this method is called in the TV deconstructor.  I'm not sure if this is the best place for it but it worked for me.

Thanks!
Doug
"	patch	closed	minor	0.22	MythTV - General	head	medium	fixed			0
