-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
close fwdata file when leaving the editor #925
Conversation
…in the group that the project is closed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see the code that calls OnDisconnectedAsync when navigating away, but I assume that's already set up in the SignalR configuration somewhere (I don't yet have any experience with SignalR) so I'll assume it's working correctly. My only concern is to find out whether the IMemoryCache.Remove() call will actually trigger post-eviction callbacks (see below). If it does, then this looks good to me.
# Conflicts: # backend/FwDataMiniLcmBridge/FwDataBridgeKernel.cs # frontend/viewer/src/App.svelte # frontend/viewer/src/ProjectView.svelte
…d by dynamically rendering it with #if
closes #912
there's now a home button on the editor, when you click it the fwdata file will be closed to let you open the project in flex. If you have the project open on another tab it will be sent home with a message about why they were navigated away.