IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29458


Ignore:
Timestamp:
Oct 17, 2010, 9:22:57 AM (16 years ago)
Author:
eugene
Message:

add a psphotVisualClose function

Location:
branches/eam_branches/ipp-20100823/psphot/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100823/psphot/src/psphotCleanup.c

    r28013 r29458  
    1414    psFree (config);
    1515
     16    psphotVisualClose();
    1617    psMemCheckCorruption (stderr, true);
    1718    pmModelClassCleanup ();
     
    1920    pmConceptsDone ();
    2021    pmConfigDone ();
     22    pmVisualCleanup ();
    2123    psLibFinalize();
    2224    // fprintf (stderr, "found %d leaks at %s\n", psMemCheckLeaks (0, NULL, NULL, false), "psphot");
  • branches/eam_branches/ipp-20100823/psphot/src/psphotVisual.c

    r29004 r29458  
    2525static int kapa2 = -1;
    2626static int kapa3 = -1;
     27
     28/** destroy windows at the end of a run*/
     29bool psphotVisualClose(void)
     30{
     31    if(kapa1 != -1) KiiClose(kapa1);
     32    if(kapa2 != -1) KiiClose(kapa2);
     33    if(kapa3 != -1) KiiClose(kapa3);
     34    return true;
     35}
    2736
    2837int psphotKapaChannel (int channel) {
Note: See TracChangeset for help on using the changeset viewer.