Gozala/jetpack-net — pull request #3 by mzu (2012-03-13 15:35:09+00:00)
Title: Attempt to fix "JS objects may not be shared across threads" error when ...

...connecting.

When aEventTarget in setEventSink is set to null (any thread) following error occurs:
"Attempt to use JS function on a different thread calling nsITransportEventSink.onTransportStatus.
JS objects may not be shared across threads."
Setting aEventTarget to current thread fixes this issue.

Signed-off-by: Mischa Zurke