• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

adhearsion / punchblock / 1115
98%

Build:
DEFAULT BRANCH: develop
Ran 14 Jul 2015 12:56PM UTC
Jobs 5
Files 115
Run time 11min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1115

push

travis-ci

Ben Langfeld
Fixed a memory leak caused by Punchblock::Translator::Asterisk

There's a memory leak in Punchblock (asterisk platform) caused
by Punchblock::Translator::Asterisk that detains references to
Punchblock::Translator::Asterisk::Component::Asterisk::AMIAction objects
even after the call is ended.

Per each call a new Punchblock::Translator::Asterisk::Component::Asterisk::AMIAction is created here:

https://github.com/adhearsion/punchblock/blob/develop/lib/punchblock/translator/asterisk.rb#L143

and then registered into Punchblock::Translator::Asterisk as a component
object. The problem is that those Punchblock::Translator::Asterisk::Component::Asterisk::AMIAction objects
are never garbage collected, because the reference to them is never removed.

The solution is to deregister the component when the complete
event is receved.

Spec component deregistered from translator on call ended

Update CHANGELOG.md

Conflicts:
	CHANGELOG.md

9927 of 10052 relevant lines covered (98.76%)

81.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1115.1 (1.9.3) 14 Jul 2015 12:56PM UTC 0
99.09
Travis Job 1115.1
2 1115.2 (2.0.0) 14 Jul 2015 12:57PM UTC 0
99.05
Travis Job 1115.2
3 1115.3 (2.1.0) 14 Jul 2015 12:56PM UTC 0
99.05
Travis Job 1115.3
4 1115.4 (jruby) 14 Jul 2015 01:07PM UTC 0
63.29
Travis Job 1115.4
6 1115.6 (ruby-head) 14 Jul 2015 01:00PM UTC 0
99.05
Travis Job 1115.6
Source Files on build 1115
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1115
  • 2d0d21a2 on github
  • Prev Build on develop (#1104)
  • Next Build on develop (#1117)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc