File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 22
33setup (
44 name = 'stackimpact' ,
5- version = '1.1.4 ' ,
5+ version = '1.1.5 ' ,
66 description = 'StackImpact Python Agent' ,
77 author = 'StackImpact' ,
88 author_email = 'devops@stackimpact.com' ,
Original file line number Diff line number Diff line change 2626
2727class Agent :
2828
29- AGENT_VERSION = "1.1.4 "
29+ AGENT_VERSION = "1.1.5 "
3030 SAAS_DASHBOARD_ADDRESS = "https://agent-api.stackimpact.com"
3131
3232 def __init__ (self , ** kwargs ):
@@ -113,7 +113,7 @@ def _signal_handler(signum, frame):
113113 if not runtime_info .OS_WIN :
114114 register_signal (signal .SIGUSR2 , _signal_handler )
115115
116- if self .get_option ('auto_destroy' ) == False :
116+ if self .get_option ('auto_destroy' ) is None or self . get_option ( 'auto_destroy' ) is True :
117117 # destroy agent on exit
118118 def _exit_handler (* arg ):
119119 if not self .agent_started or self .agent_destroyed :
You can’t perform that action at this time.
0 commit comments