WKWebView gpuProcessExited IdleExit Code=18

I'm injecting some javascript into a WKWebview on iOS. At a certain point the web view spits out these warnings into the console and the javascript execution stops.


0x109018c40 - [PID=778] WebProcessProxy::gpuProcessExited: reason=IdleExit

0x109019200 - [PID=779] WebProcessProxy::gpuProcessExited: reason=IdleExit

Failed to terminate process: Error Domain=com.apple.extensionKit.errorDomain Code=18 "(null)" UserInfo={NSUnderlyingError=0x303c3c060 {Error Domain=RBSRequestErrorDomain Code=3 "No such process found" UserInfo={NSLocalizedFailureReason=No such process found}}}

I can't find any solution for this so am looking if anyone has any idea of what to try.

None of the WKWebview delegate functions trigger when this occurs so I can't attempt to reload the webview at this stage

WKWebView gpuProcessExited IdleExit Code=18
 
 
Q