This will add an nullptr map entry for pSwapChain if it isn't already present. Is this intended?