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
Jul 16, 2019
by
gsamain
Committed by
Xavier Thompson
Jun 18, 2020
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
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 @
1d8686b3
...
@@ -99,6 +99,7 @@
...
@@ -99,6 +99,7 @@
virtual
int
activate
()
=
0
;
virtual
int
activate
()
=
0
;
ActhonMessageInterface
(
ActhonSyncInterface
*
sync_method
,
ActhonMessageInterface
(
ActhonSyncInterface
*
sync_method
,
ActhonResultInterface
*
result_object
);
ActhonResultInterface
*
result_object
);
virtual
~
ActhonMessageInterface
();
};
};
struct
ActhonQueueInterface
:
public
CyObject
{
struct
ActhonQueueInterface
:
public
CyObject
{
...
@@ -412,6 +413,12 @@ ActhonMessageInterface::ActhonMessageInterface(ActhonSyncInterface* sync_method,
...
@@ -412,6 +413,12 @@ ActhonMessageInterface::ActhonMessageInterface(ActhonSyncInterface* sync_method,
Cy_INCREF
(
this
->
_result
);
Cy_INCREF
(
this
->
_result
);
}
}
ActhonMessageInterface
::~
ActhonMessageInterface
()
{
Cy_XDECREF
(
this
->
_sync_method
);
Cy_XDECREF
(
this
->
_result
);
}
ActhonActivableClass
::
ActhonActivableClass
(
ActhonQueueInterface
*
queue_object
,
ActhonResultInterface
*
(
*
result_constructor
)(
void
))
ActhonActivableClass
::
ActhonActivableClass
(
ActhonQueueInterface
*
queue_object
,
ActhonResultInterface
*
(
*
result_constructor
)(
void
))
:
_active_queue_class
(
queue_object
),
_active_result_class
(
result_constructor
)
:
_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