Remove unnecessary locking
The lock didn't really protect anything but since it was not explicitly initialized, it caused a hang.
This commit is contained in:
@ -239,7 +239,6 @@ struct AvroSession
|
||||
enum avro_data_format format; /*< Stream JSON or Avro data */
|
||||
char* uuid; /*< Client UUID */
|
||||
SPINLOCK catch_lock; /*< Event catchup lock */
|
||||
SPINLOCK file_lock; /*< Protects rses_deleted */
|
||||
Avro* router; /*< Pointer to the owning router */
|
||||
MAXAVRO_FILE* file_handle; /*< Current open file handle */
|
||||
uint64_t last_sent_pos; /*< The last record we sent */
|
||||
|
Reference in New Issue
Block a user