Don't crash if pay floater is closed before reply arrives from the server
Fix from upstream Potentially fixes http://crash.singularityviewer.org/crashes.php?stacktrace=processPayPriceReply
This commit is contained in:
@@ -136,6 +136,8 @@ LLFloaterPay::LLFloaterPay(const std::string& name,
|
||||
// Destroys the object
|
||||
LLFloaterPay::~LLFloaterPay()
|
||||
{
|
||||
// In case this floater is currently waiting for a reply.
|
||||
gMessageSystem->setHandlerFuncFast(_PREHASH_PayPriceReply, 0, 0);
|
||||
}
|
||||
|
||||
// static
|
||||
|
||||
Reference in New Issue
Block a user