Skip to content

Commit

Permalink
merging...
Browse files Browse the repository at this point in the history
  • Loading branch information
wolph committed Nov 18, 2014
2 parents 375f469 + 69a09e2 commit 37adea5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
language: python

python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "pypy"
- "pypy3"

# command to install dependencies
install:
Expand Down
3 changes: 3 additions & 0 deletions statsd/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ def send(self, data, sample_rate=None):
return False

def __del__(self):
'''
We close UDP socket connection explicitly for pypy.
'''
self.udp_sock.close()

def __repr__(self):
Expand Down

0 comments on commit 37adea5

Please sign in to comment.