Hi Vu Ack.
This seems correct. If the version check fail there is no new client created and therefore no client to shut down! Thanks Lennart > -----Original Message----- > From: Vu Minh Nguyen [mailto:[email protected]] > Sent: den 12 april 2016 07:01 > To: [email protected]; Lennart Lund > Cc: [email protected] > Subject: [PATCH 1 of 1] log: fix the initialized log handle is deleted when > initializing with unsupported version [#1739] > > osaf/libs/agents/saf/lga/lga_api.c | 1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > > > When initializing LOG with unsupported version, > previous initialized log handle was deleted unexpectedly. > > The patch will fix above problem. > > diff --git a/osaf/libs/agents/saf/lga/lga_api.c > b/osaf/libs/agents/saf/lga/lga_api.c > --- a/osaf/libs/agents/saf/lga/lga_api.c > +++ b/osaf/libs/agents/saf/lga/lga_api.c > @@ -145,7 +145,6 @@ SaAisErrorT saLogInitialize(SaLogHandleT > version->releaseCode = LOG_RELEASE_CODE; > version->majorVersion = > LOG_MAJOR_VERSION; > version->minorVersion = > LOG_MINOR_VERSION; > - lga_shutdown_after_last_client(); > ais_rc = SA_AIS_ERR_VERSION; > goto done; > } ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Opensaf-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensaf-devel
