lib/browser/guest-view-manager.js
function (embedder, guestInstanceId) {
  const guestInstance = guestInstances[guestInstanceId]
  if (embedder !== guestInstance.embedder) {
    return
  }

  webViewManager.removeGuest(embedder, guestInstanceId)
  delete guestInstances[guestInstanceId]

  const key = `${embedder.id}-${guestInstance.elementInstanceId}`
  delete embedderElementsMap[key]
}
function (embedder, guestInstanceId) {
  const guestInstance = guestInstances[guestInstanceId]
  if (embedder !== guestInstance.embedder) {
    return
  }

  webViewManager.removeGuest(embedder, guestInstanceId)
  delete guestInstances[guestInstanceId]

  const key = `${embedder.id}-${guestInstance.elementInstanceId}`
  delete embedderElementsMap[key]
}
function ( embedder , guestInstanceId ) { const guestInstance = guestInstances [ guestInstanceId ] if ( embedder !== guestInstance . embedder ) { return } webViewManager . removeGuest ( embedder , guestInstanceId ) delete guestInstances [ guestInstanceId ] const key = ` ${ embedder . id } ${ guestInstance . elementInstanceId } ` delete embedderElementsMap [ key ] }
Remove an guest-embedder relationship.
Remove an guest - embedder relationship .