Browse Source

JackDebugClient: Keep client->fSynchroTable. Prevents crash in jack_client_wait, plus that it seems to be the correct thing to do.

tags/v1.9.12
Kjetil Matheussen 7 years ago
parent
commit
ccedff2f35
3 changed files with 1 additions and 4 deletions
  1. +0
    -3
      common/JackClient.cpp
  2. +0
    -1
      common/JackClient.h
  3. +1
    -0
      common/JackDebugClient.cpp

+ 0
- 3
common/JackClient.cpp View File

@@ -39,9 +39,6 @@ namespace Jack

#define IsRealTime() ((fProcess != NULL) | (fThreadFun != NULL) | (fSync != NULL) | (fTimebase != NULL))

JackClient::JackClient():fThread(this)
{}

JackClient::JackClient(JackSynchro* table):fThread(this)
{
fSynchroTable = table;


+ 0
- 1
common/JackClient.h View File

@@ -124,7 +124,6 @@ class SERVER_EXPORT JackClient : public JackClientInterface, public JackRunnable

public:

JackClient();
JackClient(JackSynchro* table);
virtual ~JackClient();



+ 1
- 0
common/JackDebugClient.cpp View File

@@ -35,6 +35,7 @@ namespace Jack
{

JackDebugClient::JackDebugClient(JackClient * client)
: JackClient(client->fSynchroTable)
{
fTotalPortNumber = 1; // The total number of port opened and maybe closed. Historical view.
fOpenPortNumber = 0; // The current number of opened port.


Loading…
Cancel
Save