Revert "Merge "Reduce memory leaks by removing all views.""

This reverts commit cdb510e3ccb62a0b669aba18f5d07aefe6bd188e.