SitePen/dgrid — pull request #351 by neonstalwart (2012-11-28 03:09:48+00:00)
Title: remove loadingNode when queries are canceled

it looks like it could be possible that the `loadingNode` may not be cleared when some of the Deferred's cancel (or reject).

it's possible that `loadingNode` is actually being cleared some other way and so i'm not sure this is necessary - maybe it's more of a theoretical issue than a real one. i tried to build a test case that would show this issue but was never able to make it happen (32e147b - that particular commit obviously won't fail because it was applied after the fix but that's the code i had been using if you care to cherry-pick it for yourself locally).

i'd be ok if you don't take this or you want to take some time to look at it before you accept it. i really would have liked to have made a failing test case or have a way to explain why the case won't fail.