IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 42951


Ignore:
Timestamp:
Dec 2, 2025, 3:12:22 PM (5 months ago)
Author:
tdeboer
Message:

changing code to improve pantask server behaviour

Location:
tags/ipp-ops-20220906/Ohana/src/opihi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-ops-20220906/Ohana/src/opihi/pclient/pclient.c.in

    r42950 r42951  
    7676  FreeBasic ();
    7777  FreePclient ();
    78   gprint (GP_LOG, "Goodbye\n"); // sent to pcontrol to signal exit
    79 
    80   free_error (); // init_error() called in lib.shell/startup.c general_init()
    81   gprintFree (); // gprintInit() called in lib.shell/startup.c general_init()
     78  gprint (GP_LOG, "Goodbye\n");
    8279
    8380  return;
  • tags/ipp-ops-20220906/Ohana/src/opihi/pcontrol/pcontrol.c.in

    r42950 r42951  
    99# define opihi_rcfile ".pcontrolrc"
    1010
    11 # ifdef THREADED 
    12   static pthread_t clientsThread;
    13 # endif
    14 
    1511/* program-dependent initialization */
    1612void program_init (int *argc, char **argv) {
     
    1814  OHANA_UNUSED_PARAM(argv);
    1915 
     16# ifdef THREADED 
     17  pthread_t clientsThread;
     18# endif
     19
    2020  auto_break = TRUE;
    2121
     
    8383  SetRunLevel (PCONTROL_RUN_HOSTS);
    8484  DownHosts ();
     85  ConfigFree ();
    8586
    86   QuitCheckSystemThread();
    87   pthread_join (clientsThread, NULL);
    88 
    89   ConfigFree ();
    9087  FreeBasic ();
    9188  FreePcontrol ();
    92 
    93   free_error (); // init_error() called in lib.shell/startup.c general_init()
    94   gprintFree (); // gprintInit() called in lib.shell/startup.c general_init()
    9589
    9690  return;
Note: See TracChangeset for help on using the changeset viewer.