Skip to content
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

Explicitly disconnect example app from domain upon window closing. #61

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ctrlaltdavid
Copy link
Collaborator

@ctrlaltdavid ctrlaltdavid commented Nov 15, 2021

Without explicitly disconnecting, the user's avatar remains visible in the domain for 20s or so until the domain server decides that the user hasn't been heard from for too long and so removes the avatar.

Previously: Prevented domain server crash when close or refresh SDK example app window while connected to domain server, though this has since been fixed in vircadia/vircadia-native-core#1429 .

@digisomni
Copy link
Member

We'll merge this upon being fairly confident we've got most of the unhandled crash cases.

@Misterblue
Copy link
Contributor

I have been running this PR for the last few weeks and have been connecting and disconnecting multiple times with no crashes.
I approve this PR.

@digisomni
Copy link
Member

We should retest web functionality on Linux and Windows to determine if any crashing is still present before merging this. If there is crashing present, then we should attach a debugger to either instance and solve it, then merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix CR approved At least one code reviewer has approved the PR needs QA (testing)
Projects
No open projects
Status: No status
Development

Successfully merging this pull request may close these issues.

3 participants