Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xavier Thompson
cython
Commits
1d8686b3
Commit
1d8686b3
authored
5 years ago
by
gsamain
Committed by
Xavier Thompson
4 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make acthon message interface properly drop references on result&sync objects
parent
e4370909
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
Cython/Utility/CyObjects.cpp
Cython/Utility/CyObjects.cpp
+7
-0
No files found.
Cython/Utility/CyObjects.cpp
View file @
1d8686b3
...
...
@@ -99,6 +99,7 @@
virtual
int
activate
()
=
0
;
ActhonMessageInterface
(
ActhonSyncInterface
*
sync_method
,
ActhonResultInterface
*
result_object
);
virtual
~
ActhonMessageInterface
();
};
struct
ActhonQueueInterface
:
public
CyObject
{
...
...
@@ -412,6 +413,12 @@ ActhonMessageInterface::ActhonMessageInterface(ActhonSyncInterface* sync_method,
Cy_INCREF
(
this
->
_result
);
}
ActhonMessageInterface
::~
ActhonMessageInterface
()
{
Cy_XDECREF
(
this
->
_sync_method
);
Cy_XDECREF
(
this
->
_result
);
}
ActhonActivableClass
::
ActhonActivableClass
(
ActhonQueueInterface
*
queue_object
,
ActhonResultInterface
*
(
*
result_constructor
)(
void
))
:
_active_queue_class
(
queue_object
),
_active_result_class
(
result_constructor
)
{
...
...
This diff is collapsed.
Click to expand it.
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