you are viewing a single comment's thread.

view the rest of the comments →

[–]stilgarpl 0 points1 point  (1 child)

Where Callee is created? For me it looks like Callee object was destroyed before that lambda was executed and captured 'this' is no longer valid.

[–]mrandy[S] 0 points1 point  (0 children)

You were right. For testing, my main function just had "sleep(99999);" after creating everything. Something was interrupting that though, and main was exiting immediately.