diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2017-03-25 14:32:37 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2017-03-25 14:32:37 +0100 |
commit | 9e808255f842067e0c0c9ee2344f6c1aa2860e08 (patch) | |
tree | 50d86c88d0320fededf4bbf7a5f10c9754fe33c3 | |
parent | fe57c16f6ff353f2692d9c4ccee1c01d3b476e38 (diff) | |
download | vdr-9e808255f842067e0c0c9ee2344f6c1aa2860e08.tar.gz vdr-9e808255f842067e0c0c9ee2344f6c1aa2860e08.tar.bz2 |
Now stopping any ongoing recordings before stopping the plugins
-rw-r--r-- | HISTORY | 4 | ||||
-rw-r--r-- | vdr.c | 4 |
2 files changed, 5 insertions, 3 deletions
@@ -8882,7 +8882,7 @@ Video Disk Recorder Revision History - Added a short sleep to cTSBuffer::Action() to avoid high CPU usage (thanks to Sergey Chernyavskiy). -2017-03-19: Version 2.3.3 +2017-03-25: Version 2.3.3 - Added 'S3W ABS-3A' to sources.conf (thanks to Frank Richter). - Fixed a possible deadlock in the recordings handler thread. @@ -8920,3 +8920,5 @@ Video Disk Recorder Revision History what a derived cCamSlot class needs to do in order to activate MTD. - The function cRingBufferLinear::Clear() can now be called safely from the reading thread, without additional locking. +- Now stopping any ongoing recordings before stopping the plugins, to avoid + a crash when stopping VDR while recording. @@ -22,7 +22,7 @@ * * The project's page is at http://www.tvdr.de * - * $Id: vdr.c 4.10 2017/01/09 13:22:09 kls Exp $ + * $Id: vdr.c 4.11 2017/03/25 14:20:30 kls Exp $ */ #include <getopt.h> @@ -1560,8 +1560,8 @@ Exit: StopSVDRPClientHandler(); StopSVDRPServerHandler(); ChannelCamRelations.Save(); - PluginManager.StopPlugins(); cRecordControls::Shutdown(); + PluginManager.StopPlugins(); RecordingsHandler.DelAll(); delete Menu; cControl::Shutdown(); |