Re: Fix to ensure whiteboards update
- From: Alexander Larsson <alexl redhat com>
- To: David Malcolm <dmalcolm redhat com>
- Cc: ☠ <yarrr-list gnome org>
- Subject: Re: Fix to ensure whiteboards update
- Date: Fri, 22 Apr 2005 17:38:36 +0200
On Fri, 2005-04-22 at 11:30 +0200, Alexander Larsson wrote:
> However, I'm not sure why this is happening for you. The way its meant
> to work is something like (with ordering like in your log):
>
> 1) pollForChange() -> discussion changed
> 2) dump the discussion -> notice the new whiteboard object
> 3) call getPollUrl() (without the new whiteboard object)
> 4) we do stuff with the new whiteboard object in javascript
> 5) After that we call registerObject() on the new whiteboard js object
> However, topic.js has set a registration hook:
> // We need to update the poll list after any new object has been created
> objectRegistry.addHook(function (obj) { theYarrr.updatePoll() })
> 6) updatePoll() cancels the outstanding poll, regets the set of
> interesting objects, and then restarts the poll.
>
> For some reason, step 6 doesn't seem to happen for you. We need to
> figure out why.
I tracked down and fixed this. It was a race when updatePoll() happened
at the wrong time in the state-machine.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alla lysator liu se
He's a bookish alcoholic Green Beret with acid for blood. She's a high-kicking
out-of-work pearl diver from beyond the grave. They fight crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]