more DETA fixes

This commit is contained in:
jojo61
2018-09-30 13:20:34 +02:00
parent a998e6ab04
commit 3f15f798bb
3 changed files with 21 additions and 7 deletions

View File

@@ -3644,6 +3644,10 @@ cString cPluginSoftHdDevice::SVDRPCommand(const char *command,
cControl::Attach();
Suspend(1, 1, 0);
SuspendMode = SUSPEND_DETACHED;
#ifdef USE_OPENGLOSD_no
dsyslog("[softhddev]stopping Ogl Thread svdrp DETA");
cSoftOsdProvider::StopOpenGlThread();
#endif
return "SoftHdDevice is detached";
}
if (!strcasecmp(command, "ATTA")) {