Project: | Prolint Issue Tracker |
Component: | Outputhandlers |
Category: | bug report |
Priority: | normal |
Assigned: | Unassigned |
Status: | active |
Logwin8.w => save log as => tabfile.p gives an error about dynamic function ProlintProperty.
This is because Prolint does: RUN DecrementProlintPropertySubscribers. which tells propsuper to shutdown (if no-one is actively listening)
tabfile.p (responsible for the call) or Logwin8.w (responsible for the button)
should check if propsuper is running with a construction like in core/prolint.p
DEFINE VARIABLE propsrunning AS LOGICAL NO-UNDO INITIAL FALSE.
PUBLISH "IsProlintPropertiesRunning":U (OUTPUT propsrunning).
IF NOT propsrunning THEN
RUN prolint/core/propsuper.p PERSISTENT.
RUN IncrementProlintPropertySubscribers.
and a DecrementProlintPropertySubscribers on close of the procedure.
Perhaps other outputhandlers should do this as well.