mirror of
https://github.com/Codeux-Software/Textual.git
synced 2026-06-16 13:24:32 +00:00
Remove if statement for WebKit2
If there are zero WK2 processes, this function will return anyways. -webKit2Enabled returning NO does not indicate there are zero WK2 views. It just means no more are allowed.
This commit is contained in:
@@ -147,10 +147,6 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
+ (nullable NSString *)webKitFrameworkMemoryUsage
|
||||
{
|
||||
if ([TVCLogView webKit2Enabled] == NO) {
|
||||
return nil;
|
||||
}
|
||||
|
||||
NSArray *webViewProcesses = [TPI_SP_SysInfo webViewProcessIdentifiers];
|
||||
|
||||
if (webViewProcesses.count == 0) {
|
||||
|
||||
Reference in New Issue
Block a user