Skip to content

update subscription test to check correct deregistration#26

Merged
dirk-thomas merged 2 commits intomasterfrom
subscriber_not_deregistering
Aug 4, 2015
Merged

update subscription test to check correct deregistration#26
dirk-thomas merged 2 commits intomasterfrom
subscriber_not_deregistering

Conversation

@dirk-thomas
Copy link
Copy Markdown
Member

The updated test checks that when the subscriber goes out of scope deregisters correctly.

The patch also replaces std::cout with printf - sorry for mixing it.

Currently the test fails since the subscriber does not deregister itself correctly. It seems like the subscription handle is not yet destroyed because something else hold a shared pointer of it.

@dirk-thomas dirk-thomas added the in review Waiting for review (Kanban column) label Aug 4, 2015
@dirk-thomas dirk-thomas self-assigned this Aug 4, 2015
@dirk-thomas
Copy link
Copy Markdown
Member Author

I have added the same test for timers which fails in the same way.

@wjwwood
Copy link
Copy Markdown
Member

wjwwood commented Aug 4, 2015

+1

@dirk-thomas dirk-thomas removed the in review Waiting for review (Kanban column) label Aug 4, 2015
@dirk-thomas dirk-thomas reopened this Aug 4, 2015
@dirk-thomas dirk-thomas added the in progress Actively being worked on (Kanban column) label Aug 4, 2015
dirk-thomas added a commit that referenced this pull request Aug 4, 2015
update subscription test to check correct deregistration
@dirk-thomas dirk-thomas merged commit e719ad0 into master Aug 4, 2015
@dirk-thomas dirk-thomas removed the in progress Actively being worked on (Kanban column) label Aug 4, 2015
@dirk-thomas dirk-thomas deleted the subscriber_not_deregistering branch August 4, 2015 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants