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

Should i delete my handles on plugin end


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 02-21-2018 , 15:03   Should i delete my handles on plugin end
Reply With Quote #1

When a plugin ends. Should I delete all of it's Handle references during OnPluginEnd?
__________________
Neuro Toxin is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 02-21-2018 , 15:14   Re: Should i delete my handles on plugin end
Reply With Quote #2

The Handles are automatically taken care of after a plugin is unloaded. This is why Sourcemod unloads plugins when a leak is detected; it does not just assume that the plugin handles the Handles on its own.
__________________

Last edited by ddhoward; 02-21-2018 at 15:15.
ddhoward 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:43.


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