Merge pull request #1388 from billhollings/fix-block-observer-leak

Fix small memory leak during swapchain creation.