Skip to content

Commit

Permalink
browser(webkit): fix the datastore leak (#4163)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelfeldman authored Oct 16, 2020
1 parent 305d209 commit 26442c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions browser_patches/webkit/BUILD_NUMBER
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
1359
Changed: [email protected] Thu Oct 15 14:23:29 PDT 2020
1360
Changed: [email protected] Thu Oct 15 14:25:29 PDT 2020
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ - (_WKBrowserContext *)createBrowserContext:(NSString *)proxyServer WithBypassLi
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];
Expand Down

0 comments on commit 26442c5

Please sign in to comment.