From 64e56af6dc144ea812008a791388d6f811cb5eb7 Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Tue, 15 May 2007 04:20:00 +0300 Subject: [PATCH] Fixed a race condition in cFemonReceiver (Thanks to Reinhard Nissl). --- HISTORY | 4 ++++ femon.h | 2 +- femonreceiver.c | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/HISTORY b/HISTORY index f66200c..95e42bb 100644 --- a/HISTORY +++ b/HISTORY @@ -248,3 +248,7 @@ VDR Plugin 'femon' Revision History 2007-05-01: Version 1.1.2 - Fixed opening while replaying (Thanks to Antti Seppälä for reporting this one). + +2007-05-15: Version 1.1.3 + +- Fixed a race condition in cFemonReceiver (Thanks to Reinhard Nissl). diff --git a/femon.h b/femon.h index 4a07bc3..b5f7846 100644 --- a/femon.h +++ b/femon.h @@ -11,7 +11,7 @@ #include -static const char VERSION[] = "1.1.2"; +static const char VERSION[] = "1.1.3"; static const char DESCRIPTION[] = "DVB Signal Information Monitor (OSD)"; static const char MAINMENUENTRY[] = "Signal Information"; diff --git a/femonreceiver.c b/femonreceiver.c index ee67b52..bf24723 100644 --- a/femonreceiver.c +++ b/femonreceiver.c @@ -64,6 +64,7 @@ cFemonReceiver::~cFemonReceiver(void) Dprintf("%s()\n", __PRETTY_FUNCTION__); if (Running()) Cancel(3); + Detach(); } /* The following function originates from libdvbmpeg: */