   # History delegate
 
   historyPoppedToLocation: (location) ->
-    @startVisit(location, "restore", true)
-    @location = location
+    if @enabled
+      @startVisit(location, "restore", true)
+      @location = location
+    else
+      @adapter.pageInvalidated()
 
   # Event handlers
 

    addEventListener("click", @clickBubbled, false)

  clickBubbled: (event) =>
    if @clickEventIsSignificant(event)
      if link = @getVisitableLinkForNode(event.target)
        if location = @getVisitableLocationForLink(link)
          if @applicationAllowsFollowingLinkToLocation(link, location)

      addEventListener("DOMContentLoaded", @pageLoaded, false)
      @history.start()
      @started = true
      @enabled = true

  disable: ->
    @enabled = false

  stop: ->
    if @started
