We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e67166 commit 8fec52cCopy full SHA for 8fec52c
GoogleMaps/src/com/codename1/googlemaps/MapContainer.java
@@ -245,13 +245,15 @@ private void ready(Runnable r) {
245
if (r == null) {
246
return;
247
}
248
+
249
synchronized(onReady) {
250
onReady.add(r);
251
252
253
254
255
private void waitForReady() {
256
+ //System.out.println("Waiting for ready");
257
int ctr = 0;
258
while (bridge == null) {
259
if (ctr++ > 500) {
@@ -262,7 +264,10 @@ private void waitForReady() {
262
264
public void run() {
263
265
try {
266
Thread.sleep(20);
- } catch (Exception ex){}
267
+ //System.out.println("Finished sleeping 20-");
268
+ } catch (Exception ex){
269
+ Log.e(ex);
270
+ }
271
272
273
});
0 commit comments