Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
PRRT
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
37
Issues
37
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LARN
PRRT
Commits
633a0120
Commit
633a0120
authored
May 05, 2017
by
Andreas Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PrrtSocket in Cython now uses __dealloc__.
parent
85da024c
Pipeline
#942
passed with stages
in 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
prrt/prrt.pyx
prrt/prrt.pyx
+3
-2
No files found.
prrt/prrt.pyx
View file @
633a0120
...
...
@@ -99,5 +99,6 @@ cdef class PrrtSocket:
def
send
(
self
,
data
):
cprrt
.
PrrtSocket_send
(
self
.
_c_socket
,
data
,
len
(
data
))
def
close
(
self
):
cprrt
.
PrrtSocket_close
(
self
.
_c_socket
)
def
__dealloc__
(
self
):
if
self
.
_c_socket
!=
NULL
:
cprrt
.
PrrtSocket_close
(
self
.
_c_socket
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment