Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

removeEndpoint is causing main-thread hangs #235

Open
gobindersingh opened this issue Mar 11, 2021 · 0 comments
Open

removeEndpoint is causing main-thread hangs #235

gobindersingh opened this issue Mar 11, 2021 · 0 comments

Comments

@gobindersingh
Copy link

gobindersingh commented Mar 11, 2021

Version

3.7.1

File / Feature

File: VSLEndPoint.m
VialerSIPLib.sharedInstance().removeEndpoint()

Expected behavior

Destroy pjsua instance successfully without any hang.

Actual behavior

It causes the app to hang for some second ( blocks main thread )

Stacktrace / Error message

Other info

It happens after ending the call using the teardown function

The steps I was doing:

  1. hang up the call
  2. unregister account
  3. remove account from endpoint
  4. remove endpoint
  5. app hangs in - (void)destroyPJSUAInstance method pj_status_t status = pjsua_destroy();.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant