finish the region on deleting it

FangChuang on the Github located this memory leak regarding with windows
creation and deletion.

Github-hook: fix #76