From 4021996e90a9cfeff115bfe48ff4381ad689a621 Mon Sep 17 00:00:00 2001 From: Laurin Quast Date: Sun, 4 Mar 2018 23:57:08 +0100 Subject: [PATCH] Schedule cache garbage collector --- ios/RCTVideoCache.m | 1 + 1 file changed, 1 insertion(+) diff --git a/ios/RCTVideoCache.m b/ios/RCTVideoCache.m index 4a538317..96cfea59 100644 --- a/ios/RCTVideoCache.m +++ b/ios/RCTVideoCache.m @@ -36,6 +36,7 @@ #endif [self createTemporaryPath]; self.videoCache = [[SPTPersistentCache alloc] initWithOptions:options]; + [self.videoCache scheduleGarbageCollection]; } return self; }