Menu

#29 GLib + Multi-Segment

open
nobody
None
5
2001-05-16
2001-05-16
Anonymous
No

When we try to use a GLib+Multi-Segment, the app
crashes after run 14 times.

the following code is not called
void
_GccReleaseCode (UInt16 cmd UNUSED_PARAM, void *pbp
UNUSED_PARAM, UInt16 flags)
{
if (flags & sysAppLaunchFlagNewGlobals)
{
MemHandle codeH;
int resno;

for (resno = 2; (codeH = DmGet1Resource ('code',
resno)) != NULL; resno++)
{
MemHandleUnlock (codeH);
DmReleaseResource (codeH);
}
}
}

The segments code remain locked.
Manoel

Discussion


Log in to post a comment.