Crash when "delete BMessage->Previous()"
|Reported by:||ahwayakchih||Owned by:||nielx|
|Has a Patch:||no||Platform:||All|
BMessage::Previous says that caller SHOULD delete resulting BMessage. But when i do that, BLooper crashes soon after return from
I'm attaching mini application that shows the problem. I know it's strange to send message to itself, but it's to closely mimick code that discovered the problem.
My Deskbar replicant has to use
PostMessage because on Haiku it cannot get Deskbar location otherwise (outside of some ugly hacks):
So it posts message and waits for reply in
MessageReceived, where it gets previous message to make sure it's the right reply message.
Change History (5)
comment:2 by , 14 months ago
|Component:||Kits/Application Kit → Documentation|
|Status:||new → closed|