Skip to content

Commit e5c9b0e

Browse files
authored
Merge pull request #3314 from jeanp413/fix-undefined-soundService
Fixes undefined soundService
2 parents 4a7bbe6 + 58527bb commit e5c9b0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/browser/Terminal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,7 @@ export class Terminal extends CoreTerminal implements ITerminal {
11491149
*/
11501150
public bell(): void {
11511151
if (this._soundBell()) {
1152-
this._soundService!.playBellSound();
1152+
this._soundService?.playBellSound();
11531153
}
11541154

11551155
this._onBell.fire();

0 commit comments

Comments
 (0)