Added dtor function to swHashMap