Vestorly/torii — pull request #98 by bguiz (2014-10-01 04:44:53+00:00)
Title: =BG= look up adapter in close hook with provider

... Otherwise the `failClose` always occurs, with the following error:

`"The Torii adapter must implement `close` for a session to be closed"`

Even when the adapter has all three of `open`, `fetch`, and `close` hooks implemented. This occurs because `lookupAdapter` will only return the default adapter when called without the second argument, `provider`.