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

adhearsion / punchblock / 1115 / 3
98%
develop: 98%

Build:
DEFAULT BRANCH: develop
Ran 14 Jul 2015 12:56PM UTC
Files 115
Run time 6s
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

14 Jul 2015 12:56PM UTC coverage: 99.047% (+0.001%) from 99.046%
2.1.0

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

9873 of 9968 relevant lines covered (99.05%)

20.39 hits per line

Source Files on job 1115.3 (2.1.0)
  • Tree
  • List 0
  • Changed 8
  • Source Changed 3
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1115
  • Travis Job 1115.3
  • 2d0d21a2 on github
  • Prev Job for 2.1.0 on develop (#1104.3)
  • Next Job for 2.1.0 on develop (#1117.3)
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