Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Make electron webrtc working in headless and stabdard fix
  • Loading branch information
yciabaud committed Mar 16, 2016
commit ce77a6bc5d23bdb98ffaadff76ec2c7cdd700d08
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ node_js:
- "node"
- "4"
- "0.12"
before_script:
- export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start
2 changes: 1 addition & 1 deletion lib/client/websocket-tracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ WebSocketTracker.prototype.destroy = function (cb) {
clearTimeout(self.reconnectTimer)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a good idea!


// Destroy peers
for(var peerId in self.peers) {
for (var peerId in self.peers) {
var peer = self.peers[peerId]
clearTimeout(peer.trackerTimeout)
peer.destroy()
Expand Down