Resize handler does not check if the table is destroyed 

When debouncing the resize call, you might end up in a situation where the table was destroyed before the resize call actually occur throwing an exception.

Solution: Guard against destroyed table in the handler.