clear sessionHistoryMap in clearSessions(), fixes #171
This commit is contained in:
parent
c9657a3911
commit
fb0a2105a0
3
.github/FUNDING.yml
vendored
3
.github/FUNDING.yml
vendored
@ -1,2 +1,3 @@
|
||||
patreon: tanersener
|
||||
custom: [ 'https://www.patreon.com/tanersener','https://opencollective.com/ffmpeg-kit','https://buymeacoff.ee/tanersener','https://paypal.me/teodosiyminchev' ]
|
||||
open_collective: ffmpeg-kit
|
||||
custom: [ 'https://buymeacoff.ee/tanersener' ]
|
@ -1027,6 +1027,7 @@ public class FFmpegKitConfig {
|
||||
public static void clearSessions() {
|
||||
synchronized (sessionHistoryLock) {
|
||||
sessionHistoryList.clear();
|
||||
sessionHistoryMap.clear();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1076,6 +1076,7 @@ int executeFFprobe(long sessionId, NSArray* arguments) {
|
||||
[sessionHistoryLock lock];
|
||||
|
||||
[sessionHistoryList removeAllObjects];
|
||||
[sessionHistoryMap removeAllObjects];
|
||||
|
||||
[sessionHistoryLock unlock];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user