File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ export function fetchServerStatus (requestTransferSession = false) {
244244 const isAuthEnabled = selectAuthEnabled ( getState ( ) ) ;
245245 const isAuthenticated = selectIsAuthenticated ( getState ( ) ) ;
246246 const clientIdInState = selectClientId ( getState ( ) ) ;
247- const clientId = clientIdInState || sessionStorage . getItem ( 'MWI_CLIENT_ID' ) ;
247+ const clientId = clientIdInState ;
248248
249249 dispatch ( requestServerStatus ( ) ) ;
250250 let url = './get_status' ;
@@ -269,7 +269,6 @@ export function fetchServerStatus (requestTransferSession = false) {
269269 dispatch ( receiveServerStatus ( data ) ) ;
270270
271271 if ( clientId == null && data . clientId ) {
272- sessionStorage . setItem ( 'MWI_CLIENT_ID' , data . clientId ) ;
273272 dispatch ( setClientId ( data . clientId ) ) ;
274273 }
275274 if ( 'isActiveClient' in data ) {
Original file line number Diff line number Diff line change @@ -139,10 +139,9 @@ async def clear_client_id(req):
139139 Returns:
140140 Response: an empty response in JSON format
141141 """
142- # Sleep for one second prior to clearing the client id to ensure that any remaining get_status responses are fully processed first.
143- await asyncio .sleep (1 )
144142 state = req .app ["state" ]
145143 state .active_client = None
144+ logger .debug ("Client Id was cleaned!!!" )
146145 # This response is of no relevance to the front-end as the client has already exited
147146 return web .json_response ({})
148147
You can’t perform that action at this time.
0 commit comments