Activate our bundles before turning our download observers loose.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2277 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: ResourceManager.java,v 1.22 2003/02/06 19:13:49 mdb Exp $
|
// $Id: ResourceManager.java,v 1.23 2003/02/12 18:11:33 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.resource;
|
package com.threerings.resource;
|
||||||
|
|
||||||
@@ -246,11 +246,11 @@ public class ResourceManager
|
|||||||
|
|
||||||
public void downloadProgress (int percent, long remaining) {
|
public void downloadProgress (int percent, long remaining) {
|
||||||
if (percent == 100) {
|
if (percent == 100) {
|
||||||
|
bundlesDownloaded();
|
||||||
synchronized (lock) {
|
synchronized (lock) {
|
||||||
// wake things up as the download is finished
|
// wake things up as the download is finished
|
||||||
lock.notify();
|
lock.notify();
|
||||||
}
|
}
|
||||||
bundlesDownloaded();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user