Raised This Month: $12 Target: $400
 3% 

New menu memory leakage


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Natsheh
Veteran Member
Join Date: Sep 2012
Old 11-24-2021 , 23:27   New menu memory leakage
Reply With Quote #1

Hello, while i was testing around i found out that when you've a new menu opened and opening a vugi menu using the following command "buyequip" will close the new menu without calling the handler which will leave the new menu available and not destroyed.

Amxx version: 1.10 5420
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 11-24-2021 at 23:28.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 11-25-2021 , 08:29   Re: New menu memory leakage
Reply With Quote #2

https://github.com/alliedmodders/amxmodx

And test it with the latest amxmodx, can you provide logs or some documentation that proves this?
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
Natsheh
Veteran Member
Join Date: Sep 2012
Old 11-25-2021 , 10:34   Re: New menu memory leakage
Reply With Quote #3

Quote:
Originally Posted by DruGzOG View Post
https://github.com/alliedmodders/amxmodx

And test it with the latest amxmodx, can you provide logs or some documentation that proves this?
Sure ill provide a picture,

Also i am getting more memory leaks but can't define them all
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 11-25-2021 at 10:39.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
M Ali
Junior Member
Join Date: Dec 2021
Old 12-28-2021 , 04:43   Re: New menu memory leakage
Reply With Quote #4

void MainWindow::createMenu()
{
//Create menus
QAction *quit = new QAction("&Quit", this);
QMenu *file = menuBar()->addMenu("&File");
file->addAction(quit);
connect(quit, &QAction::triggered,
[=]() {
QApplication::quit();
});

//Creating instances of ticker and timer here
//Done so that the connection between ticker and timer is possible
ticker = new Ticker(this);
timer = new Timer(this);
connect(timer, &Timer::timeout, ticker, &Ticker::playSound);
}
M Ali is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode