Unverified Commit 79107e0f authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

Dont kill other processes when starting desktop application (#40472)

parent 9dd8c3a3
......@@ -86,7 +86,6 @@ class LinuxDevice extends Device {
target: mainPath,
);
}
await stopApp(package);
final Process process = await processManager.start(<String>[
package.executable(debuggingOptions?.buildInfo?.mode)
]);
......
......@@ -79,7 +79,6 @@ class MacOSDevice extends Device {
bool prebuiltApplication = false,
bool ipv6 = false,
}) async {
// Stop any running applications with the same executable.
if (!prebuiltApplication) {
Cache.releaseLockEarly();
await buildMacOS(
......@@ -96,9 +95,7 @@ class MacOSDevice extends Device {
return LaunchResult.failed();
}
// Make sure to call stop app after we've built.
_lastBuiltMode = debuggingOptions?.buildInfo?.mode;
await stopApp(package);
final Process process = await processManager.start(<String>[
executable
]);
......
......@@ -87,7 +87,6 @@ class WindowsDevice extends Device {
target: mainPath,
);
}
await stopApp(package);
final Process process = await processUtils.start(<String>[
package.executable(debuggingOptions?.buildInfo?.mode)
]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment