Branch: Tag:

2019-06-11

2019-06-11 15:14:06 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio.Buffer: Mark the class for immediate destruction.

This is needed since the object may hold a lock on
a different Stdio.Buffer.

Potentially fixes some of [LysLysKOM 23391165].

75:    *!    */   PIKECLASS Buffer +  /* This is needed to get consisten behavior in case this +  * buffer is a sub-buffer, in which case the source +  * buffer needs to be unlocked as soon as possible. +  */ +  program_flags PROGRAM_DESTRUCT_IMMEDIATE;   {   #if PRECOMPILE_API_VERSION > 5    PIKEVAR int b.num_malloc;