Skip to content

Timer/interval in MediaViewController not being purged properly #10

@penelopus

Description

@penelopus

The sampler app implements an interval in MediaViewController.m -- and this timer looks like it isn't getting purged properly when a new instance of media is loaded.

So, what seems to be happening, is that this timer keep firing off events unexpectedly.

If I launch a(nother) audio file while one is currently playing, a 1-second interval seems to interrupt the load of the audio and prevent the webapp from moving forward. However, if I click "close" in the Sampler app to truncate the websocket session, then tap the "audio" button to launch new audio, it seems to be fine (the old timer gets purged).

This is reproducible in a locally running instance of webOS second-screen-service, though the latency is hidden in TV mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions