export default ( peerConnection ) => { if ( peerConnection . isSocketRoomLocked ) { peerConnection . toggleLockRoom ( false ) ; if ( peerConnection . isCallStarted ) { peerConnection . selfDestroy ( ) ; } } } ;