mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 13:45:36 +03:00
browser(webkit): fix the datastore leak (#4163)
This commit is contained in:
parent
305d209e82
commit
26442c563c
@ -1,2 +1,2 @@
|
||||
1359
|
||||
Changed: yurys@chromium.org Thu Oct 15 14:23:29 PDT 2020
|
||||
1360
|
||||
Changed: pavel.feldman@gmail.com Thu Oct 15 14:25:29 PDT 2020
|
||||
|
@ -333,7 +333,7 @@ const NSActivityOptions ActivityOptions =
|
||||
if (!proxyBypassList || ![proxyBypassList length])
|
||||
proxyBypassList = _proxyBypassList;
|
||||
[dataStoreConfiguration setProxyConfiguration:[self proxyConfiguration:proxyServer WithBypassList:proxyBypassList]];
|
||||
browserContext.dataStore = [[WKWebsiteDataStore alloc] _initWithConfiguration:dataStoreConfiguration];
|
||||
browserContext.dataStore = [[[WKWebsiteDataStore alloc] _initWithConfiguration:dataStoreConfiguration] autorelease];
|
||||
browserContext.processPool = [[[WKProcessPool alloc] _initWithConfiguration:processConfiguration] autorelease];
|
||||
[browserContext.processPool _setDownloadDelegate:self];
|
||||
[_browserContexts addObject:browserContext];
|
||||
|
Loading…
Reference in New Issue
Block a user