Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Transport TypeScript 1.3.6

Latest
Compare
Choose a tag to compare
@jooskim jooskim released this 07 May 00:09
· 9 commits to master since this release

Change logs

fix: Guard against double-free of galacticChannel objects: #71

This release contains a bugfix for a rare race condition that's caused by the following chain of events:

  1. The application has an active WebSocket connection established through Transport
  2. The application goes into a long idle either by the user navigating away from the tab or putting the entire browser in background for long enough.
  3. Upon the application being brought back to foreground, the process wakes up and Transport tries to re-establish a WebSocket connection.

Depending on when the disconnection of WebSocket happens while the process is being put to sleep, a race condition can allow Transport's internal state to be modified twice, leading to the crash of the re-connection logic, which was reported by an internal VMware engineering team. See the PR for the details of the issue and the fix.