Skip to content

Commit ac0efb0

Browse files
committed
change to hp exited
1 parent c3c44c5 commit ac0efb0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/backend/metrics/types.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -424,8 +424,8 @@ export interface AccountDropdownPortfolioClicked {
424424
sensitiveProperties?: never
425425
}
426426

427-
export interface MainWindowClosed {
428-
event: 'Main Window Closed'
427+
export interface HyperPlayExited {
428+
event: 'HyperPlay Exited'
429429
properties?: never
430430
sensitiveProperties?: never
431431
}
@@ -473,6 +473,6 @@ export type PossibleMetricPayloads =
473473
| PatchingFailed
474474
| PatchingTooSlow
475475
| AccountDropdownPortfolioClicked
476-
| MainWindowClosed
476+
| HyperPlayExited
477477

478478
export type PossibleMetricEventNames = PossibleMetricPayloads['event']

src/backend/utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ async function handleExit() {
261261
// Kill all child processes
262262
callAllAbortControllers()
263263
}
264-
trackEvent({ event: 'Main Window Closed' })
264+
trackEvent({ event: 'HyperPlay Exited' })
265265
app.exit()
266266
}
267267

0 commit comments

Comments
 (0)