debt - notifications should talk about closing not disposal

This commit is contained in:
Benjamin Pasero
2018-04-04 16:55:38 +02:00
parent 99b6b5d693
commit a396179e23
12 changed files with 59 additions and 55 deletions

View File

@@ -92,7 +92,7 @@ export class MainThreadMessageService implements MainThreadMessageServiceShape {
// if promise has not been resolved yet, now is the time to ensure a return value
// otherwise if already resolved it means the user clicked one of the buttons
once(messageHandle.onDidDispose)(() => {
once(messageHandle.onDidClose)(() => {
dispose(...primaryActions, ...secondaryActions);
resolve(undefined);
});