@babblevoice/babble-drachtio-callmanager 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/call.js +2 -4
  2. package/package.json +1 -1
package/lib/call.js CHANGED
@@ -1978,12 +1978,10 @@ class call {
1978
1978
 
1979
1979
  this._sethangupcause( src, reason )
1980
1980
 
1981
- let audiochannel = this.channels.audio
1982
- this.channels.audio = false
1983
1981
  /* flag destroyed so when we receive our close event we know what to do */
1984
1982
  this.destroyed = true
1985
- if( audiochannel ) {
1986
- audiochannel.close()
1983
+ if( this.channels.audio ) {
1984
+ this.channels.audio.close()
1987
1985
  this._timers.cleanup = setTimeout( () => {
1988
1986
  console.error( "Timeout waiting for channel close, cleaning up anyway", this.uuid )
1989
1987
  this._cleanup()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babblevoice/babble-drachtio-callmanager",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Call processing to create a PBX",
5
5
  "main": "index.js",
6
6
  "scripts": {