Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
79107e0f
Unverified
Commit
79107e0f
authored
Sep 16, 2019
by
Jonah Williams
Committed by
GitHub
Sep 16, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dont kill other processes when starting desktop application (#40472)
parent
9dd8c3a3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
5 deletions
+0
-5
linux_device.dart
packages/flutter_tools/lib/src/linux/linux_device.dart
+0
-1
macos_device.dart
packages/flutter_tools/lib/src/macos/macos_device.dart
+0
-3
windows_device.dart
packages/flutter_tools/lib/src/windows/windows_device.dart
+0
-1
No files found.
packages/flutter_tools/lib/src/linux/linux_device.dart
View file @
79107e0f
...
...
@@ -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
)
]);
...
...
packages/flutter_tools/lib/src/macos/macos_device.dart
View file @
79107e0f
...
...
@@ -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
]);
...
...
packages/flutter_tools/lib/src/windows/windows_device.dart
View file @
79107e0f
...
...
@@ -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
)
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment