Skip to content

Commit 340418c

Browse files
minor refactor
Signed-off-by: nkomonen-amazon <[email protected]>
1 parent ed1fe8f commit 340418c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/core/src/shared/crashMonitoring.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,7 @@ export class CrashMonitoring {
137137
/** Stop the Crash Monitoring process, signifying a graceful shutdown */
138138
public async shutdown() {
139139
try {
140-
this.crashChecker.cleanup()
141-
await this.heartbeat.shutdown()
140+
await this.cleanup()
142141
} catch (error) {
143142
try {
144143
// This probably wont emit in time before shutdown, but may be written to the logs

0 commit comments

Comments
 (0)