Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions build_daemon/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 4.1.1

- Bug fix: daemon process shuts down on internal error.

## 4.1.0

- Bug fix: resolve symlinks when identifying workspaces, so symlinks can't
Expand Down
7 changes: 6 additions & 1 deletion build_daemon/lib/client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,12 @@ class BuildDaemonClient {
includeParentEnvironment: includeParentEnvironment,
);

await _handleDaemonStartup(process, logHandler);
try {
await _handleDaemonStartup(process, logHandler);
} catch (_) {
process.kill();
rethrow;
}

return connectUnchecked(
workingDirectory,
Expand Down
2 changes: 1 addition & 1 deletion build_daemon/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: build_daemon
version: 4.1.0
version: 4.1.1
description: A daemon for running Dart builds.
repository: https://github.com/dart-lang/build/tree/master/build_daemon
resolution: workspace
Expand Down