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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
8fe4fdd6
Commit
8fe4fdd6
authored
Jul 16, 2019
by
gsamain
Committed by
Xavier Thompson
Aug 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make acthon message interface properly drop references on result&sync objects
parent
0aa77c40
Changes
1
Show 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 @
8fe4fdd6
...
...
@@ -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
)
{
...
...
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