         @redux._set_state({"#{@name}": obj})
         return
 
-    destroy: =>
-        @redux.removeActions(@name)
 ###
 store_def =
     reduxState:

            @_tables[name]._table?.close()
            delete @_tables[name]

    removeStore: (name) =>
        if not name?
            throw Error("name must be a string")
        if @_stores[name]?
            S = @_stores[name]
            S.emit('destroy')
            delete @_stores[name]
            S.removeAllListeners()
            @_redux_store.dispatch(action_remove_store(name))

    removeActions: (name) =>

            @emit('change', state)

    destroy: =>
        @emit('destroy')
        @removeAllListeners()

    getState: =>
        return @redux._redux_store.getState().get(@name)
