Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
tau-sdskeyval
Commits
7a07a2c9
Commit
7a07a2c9
authored
Jun 12, 2019
by
Andrew Gaspar
Browse files
Move check if instance is live after tid check
parent
41a16ab8
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugin/src/plugin.cpp
View file @
7a07a2c9
...
...
@@ -83,12 +83,12 @@ void Plugin::InitializeInstance(int argc, char **argv) {
Plugin
*
Plugin
::
GetInstance
()
{
return
instance
;
}
int
Plugin
::
GlobalEndOfExecution
(
Tau_plugin_event_end_of_execution_data_t
*
data
)
{
if
(
!
instance
)
return
1
;
if
(
data
->
tid
!=
0
)
{
return
1
;
}
if
(
!
instance
)
return
1
;
auto
result
=
GetInstance
()
->
EndOfExecution
(
*
data
);
delete
instance
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment