C# Class CefSharp.Internals.ParentProcessMonitor

Monitor the parent process and exit if the parent process closes before the subprocess. This class is used by the CefSharp.BrowserSubprocess to self terminate if the parent dies without notifying it to exit. See https://github.com/cefsharp/CefSharp/issues/2359 for more information.
Afficher le fichier Open project: Secbyte/CefSharp.Net40

Méthodes publiques

Méthode Description
StartMonitorTask ( int parentProcessId ) : void

Starts a long running task (spawns new thread) used to monitor the parent process and calls Process.Kill if the parent exits unexpectedly (usually result of a crash).

Private Methods

Méthode Description
AwaitParentProcessExit ( int parentProcessId ) : void

Method Details

StartMonitorTask() public static méthode

Starts a long running task (spawns new thread) used to monitor the parent process and calls Process.Kill if the parent exits unexpectedly (usually result of a crash).
public static StartMonitorTask ( int parentProcessId ) : void
parentProcessId int process Id of the parent application
Résultat void