Try two
This commit is contained in:
@@ -35,6 +35,8 @@ const App: FC = () => {
|
||||
}, 1000);
|
||||
|
||||
return () => {
|
||||
console.log('De-Initializing CommBus');
|
||||
|
||||
commBus.off(TFDI_SIMBRIEF_USERNAME_EVENT, usernameCallback);
|
||||
commBus.off(COMM_BUS_LIVE_DATA_EVENT, wasmCallback);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user