@babblevoice/babble-drachtio-callmanager 2.2.2 → 2.2.3
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.
- package/lib/call.js +3 -1
- package/package.json +1 -1
package/lib/call.js
CHANGED
|
@@ -2862,13 +2862,15 @@ class call {
|
|
|
2862
2862
|
@private
|
|
2863
2863
|
*/
|
|
2864
2864
|
c._req = req
|
|
2865
|
-
|
|
2865
|
+
|
|
2866
2866
|
/**
|
|
2867
2867
|
@member
|
|
2868
2868
|
@private
|
|
2869
2869
|
*/
|
|
2870
2870
|
c._res = res
|
|
2871
2871
|
|
|
2872
|
+
c._req.on( "cancel", () => c._oncanceled.bind( c ) )
|
|
2873
|
+
|
|
2872
2874
|
await callstore.set( c )
|
|
2873
2875
|
callmanager.options.em.emit( "call.new", c )
|
|
2874
2876
|
|