File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
packages/app/src/app/store/modules/live Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export default Module({
3838 onAddEditorClicked : sequences . addEditor ,
3939 onRemoveEditorClicked : sequences . removeEditor ,
4040 onSessionCloseClicked : sequences . closeSession ,
41- onNavigateAway : sequences . closeSession ,
41+ onNavigateAway : sequences . stopLive ,
4242 onToggleNotificationsHidden : sequences . toggleNotificationsHidden ,
4343 onSendChat : sequences . sendChat ,
4444 onChatEnabledChange : sequences . setChatEnabled ,
Original file line number Diff line number Diff line change @@ -38,11 +38,9 @@ export const changeMode = [
3838 } ,
3939] ;
4040
41- export const closeSession = [
42- actions . sendCloseSession ,
43- actions . disconnect ,
44- resetLive ,
45- ] ;
41+ export const stopLive = [ actions . disconnect , resetLive ] ;
42+
43+ export const closeSession = [ actions . sendCloseSession , stopLive ] ;
4644
4745export const toggleNotificationsHidden = [
4846 toggle ( state `live.notificationsHidden` ) ,
You can’t perform that action at this time.
0 commit comments