Subj : Posting a message with messagebase open
To   : Psi-Jack
From : Nightfox
Date : Sat Jul 11 2015 08:37 pm

 Re: Posting a message with messagebase open
 By: Psi-Jack to Nightfox on Sat Jul 11 2015 21:19:17

Ni>> While using my message reader (written in JavaScript), I've noticed
Ni>> that if it has a sub-board open with a MessageBase object and lets
Ni>> the user post a message in that sub-board, in Linux, the MessageBase
Ni>> object doesn't seem to get updated with the number of messages in
Ni>> the sub-board. In

Ps> Yeah.. I've noticed this as well..
Ps> Along with, and it's not at all consistent, sometimes when posting a
Ps> message it just crashes and hangs up, without ever posting the message,
Ps> and I don't think this is a SlyEdit issue either as it happends just after
Ps> the save occurs and only then.

I've noticed that sometimes too, in Windows.  It seems to happen randomly, so I
don't know how to reproduce it.  My guess would be that if you happen to be
posting a message at the same time that the sub-board messagebase is being
updated (via a QWK update), maybe there's some resource conflict that causes a
crash.  I haven't verified that theory though.  I made a local update to my
message reader to close its MessageBase object while posting a message and
re-open the MessageBase after the posting is done - That seems to allow the
total number of messages to be updated (in Linux), and hopefully it will make
it more stable too.  I'll release an update to my reader after more testing.

Nightfox

---
� Synchronet � Digital Distortion: digitaldistortionbbs.com