Opened 15 years ago
Closed 4 years ago
#1368 closed defect (fixed)
ACE:init missing in MapGuideCommon lib
Reported by: | haris | Owned by: | brucedechant |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | General | Version: | 2.2.0 |
Severity: | trivial | Keywords: | |
Cc: | External ID: |
Description (last modified by )
MapGuideCommon ( and others libraries) use ACE without calling ACE::init. ACE::init() is called in MG server and web extension but as other libraries can be used independently it would be appropriate that ACE::init() is called in MapGuideCommon itself.
Shouldn't be a problem to implement this as ACE::init can be called multiple times.
Change History (5)
comment:1 by , 15 years ago
Owner: | set to |
---|
comment:2 by , 14 years ago
Cc: | removed |
---|
comment:3 by , 14 years ago
Description: | modified (diff) |
---|
comment:4 by , 14 years ago
comment:5 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed with introduction of MgInitializeLibrary
in MapGuide RFC 182
Note:
See TracTickets
for help on using tickets.
This is from the Init_ACE.h file:
namespace ACE {
From the above we should only be calling ACE::init() once. I did a quick test that called it from inside MapGuideCommon and the server would crash when I tried to shut it down. So I don't think calling it multiple times is a good idea.
What about moving the ACE::init() from the server/web main executables to MapGuideCommon?