summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2017-02-07 08:58:12 -0500
committerGitHub <noreply@github.com>2017-02-07 08:58:12 -0500
commitabf020457e27c1174dde846734b73506cbeb0e28 (patch)
treeb435bd503cbec097137b96b44630b9ae287de3ae
parent82ac823737bab7a6492ee9681ce236907d720797 (diff)
parente61260dbffc501f705146868de3b1d7d435bb299 (diff)
downloadsdl_ios-abf020457e27c1174dde846734b73506cbeb0e28.tar.gz
Merge pull request #519 from smartdevicelink/hotfix/issue_518
Fix issue around releasing already released Compression Session
-rw-r--r--SmartDeviceLink/SDLStreamingMediaManager.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLStreamingMediaManager.m b/SmartDeviceLink/SDLStreamingMediaManager.m
index 55a361bc7..d05daa93e 100644
--- a/SmartDeviceLink/SDLStreamingMediaManager.m
+++ b/SmartDeviceLink/SDLStreamingMediaManager.m
@@ -377,6 +377,7 @@ NS_ASSUME_NONNULL_BEGIN
if (self.compressionSession != NULL) {
VTCompressionSessionInvalidate(self.compressionSession);
CFRelease(self.compressionSession);
+ self.compressionSession = NULL;
}
}