We're updating the issue view to help you get more done. 

Do not resurrect session

Description

In the unlikely event a Linq query is used after disposing of its session and having it garbage collected, the session may get resurrected by the query provider, just to immediately fail afterward due to the session being closed.
It may also not be resurrected and yield null instead, causing a null reference exception in such case.

Environment

None

Status

Assignee

Frédéric Delaporte

Reporter

Frédéric Delaporte