fix crash when change font settings

This commit is contained in:
gazer 2016-01-28 23:20:30 +03:00
parent 3ac0820b8a
commit 34930457ff
1 changed files with 1 additions and 1 deletions

View File

@ -412,7 +412,7 @@ private abstract class GLCache
_activePage = null;
foreach(i; 0 .. _pages.length)
if (_pages[i] == page) {
_pages.remove(i);
_pages = _pages.remove(i);
break;
}
destroy(page);