Fix crash when closing multiple tabs if limited number of tabs is enabled
Purge LRU storage must work regardless of CMAKE_BUILD_TYPE. Otherwise KateTabBar::removeDocument will iterate over (m_docToLruCounterAndHasTab) documents (*doc) that have been previously destroyed, resulting in segfault. Fixes Bug 450873 (https://bugs.kde.org/show_bug.cgi?id=450873). BUG: 450873
Edited by Francisco Boni Neto